I hereby claim:
- I am skwi on github.
- I am skwi (https://keybase.io/skwi) on keybase.
- I have a public key ASCSZ4ZFmFM81IluDcO-QFo0AgLoxFMH7nPbH9kQH4OxYgo
To claim this, I am signing this object:
public function myfunction() { | |
switch(true) { | |
case $this->securityContext->isGranted('ROLE_1'){ | |
#code | |
break; | |
case $this->securityContext->isGranted('ROLE_2'){ | |
#code | |
break; | |
case $this->securityContext->isGranted('ROLE_3'){ | |
#code |
<script | |
type="text/javascript" | |
src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery{{ app.environment == 'dev' ? null : '.min' }}.js"> | |
</script> |
#!/bin/sh | |
PROJECT=`php -r "echo dirname(dirname(dirname(realpath('$0'))));"` | |
STAGED_FILES_CMD=`git diff --cached --name-only --diff-filter=ACMR HEAD | grep \\\\.php` | |
# Determine if a file list is passed | |
if [ "$#" -eq 1 ] | |
then | |
oIFS=$IFS | |
IFS=' |
I hereby claim:
To claim this, I am signing this object: