I hereby claim:
- I am lyrixx on github.
- I am lyrixx (https://keybase.io/lyrixx) on keybase.
- I have a public key whose fingerprint is EBD3 7A8B 0142 8B8F CFBE 0159 4F0F C894 7EAE A13A
To claim this, I am signing this object:
<?php | |
class Foobar | |
{ | |
private $foo = 'start'; | |
public function getFoo() | |
{ | |
return $this->foo; | |
} |
#!/bin/bash | |
BASE_PATH=`dirname $0`/.. | |
ASSETS_PATH=$BASE_PATH/app/Resources/assets | |
ASSETS_PATH2=$BASE_PATH/src/SensioLabs/Bundle/InsightAnalysisBundle/Resources/public | |
if [[ `which inotifywait` ]]; then | |
while true; do | |
inotifywait -r -e modify -e move -e create -e delete $ASSETS_PATH/ $ASSETS_PATH2/ | while read line; do | |
php $BASE_PATH/app/console assetic:dump --force |
<?php | |
class MessageExporter | |
{ | |
private $broker; | |
public function __construct(Broker $broker = null) | |
{ | |
$this->broker = $broker; | |
} |
I hereby claim:
To claim this, I am signing this object:
-- Sample input: | |
-- { | |
-- "message": "Reloading user from user provider.", | |
-- "context": [ | |
-- ], | |
-- "level": 100, | |
-- "level_name": "DEBUG", | |
-- "channel": "security", | |
-- "datetime": { | |
-- "date": "2014-05-23 14:19:19", |
<?php | |
<<<CONFIG | |
packages: | |
- "twig/twig: *" | |
CONFIG; | |
echo "----------------------------------\n"; | |
$twig = new Twig_Environment(new Twig_Loader_Array(array( | |
'my_template' => 'Hello {{ name }}', |
<?php | |
<<<CONFIG | |
packages: | |
- "symfony/finder: ~2.5" | |
CONFIG; | |
$finder = Symfony\Component\Finder\Finder::create() | |
->in(__DIR__) | |
->name('*.php') | |
; |
<?php | |
<<<CONFIG | |
packages: | |
- "symfony/symfony: 2.7.x-dev@dev" | |
CONFIG; | |
use Symfony\Component\HttpKernel\Kernel; | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\Config\Loader\LoaderInterface; | |
use Symfony\Bundle\FrameworkBundle\FrameworkBundle; |
/vendor/ |
<?php | |
namespace SensioLabs\Toolkit\Assets; | |
use Assetic\AssetManager; | |
use Assetic\Asset\AssetCollection; | |
use Symfony\Component\Finder\Finder; | |
class VersionCalculator | |
{ |