I hereby claim:
- I am frodosghost on github.
- I am frodosghost (https://keybase.io/frodosghost) on keybase.
- I have a public key ASCjXhben2bdA5Zk-N27SCbBCDm127WRyO2gkmryZ-K9dAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| /** | |
| * BubbleSort in PHP | |
| * | |
| * @param array $data | |
| * @return array | |
| */ | |
| function bubblesort ($data) { | |
| $length = count($data); |
| <?php | |
| namespace Session\Storage; | |
| use Symfony\Component\HttpFoundation\Session\Storage\PhpBridgeSessionStorage; | |
| /** | |
| * Session storage that avoids using _sf2_attributes subkey in the $_SESSION | |
| * superglobal but instead it uses the root variable. | |
| * |
| <?php | |
| namespace AppBundle\EventListener; | |
| use Symfony\Component\HttpFoundation\Response; | |
| use Symfony\Component\HttpKernel\HttpKernelInterface; | |
| use Symfony\Component\HttpKernel\Event\GetResponseEvent; | |
| use Symfony\Component\HttpKernel\Event\FilterResponseEvent; |
| <?php | |
| namespace AppBundle\Composer; | |
| use Composer\Script\Event; | |
| use Symfony\Component\Process\Process; | |
| /** | |
| * Script for Running NPM as part of Composer Update | |
| * |
| <?php | |
| namespace AppBundle\Composer; | |
| use Composer\Script\Event; | |
| use Symfony\Component\Process\Process; | |
| /** | |
| * Script for Running NPM as part of Composer Update | |
| * |
| var antelopeApp = angular.module('antelopeApp', [ | |
| 'ngRoute', | |
| 'antelopeControllers' | |
| ]).config(function($interpolateProvider){ | |
| $interpolateProvider.startSymbol('{[{').endSymbol('}]}'); | |
| }); |
| <?php | |
| namespace Acme\DemoBundle\Form\DataTransformer; | |
| use Doctrine\ORM\EntityManager; | |
| use Doctrine\ORM\PersistentCollection; | |
| use Doctrine\Common\Collections\ArrayCollection; | |
| use Symfony\Component\Form\DataTransformerInterface; | |
| use Symfony\Component\Form\Exception\TransformationFailedException; |
| <?php | |
| namespace Your\Product\Bundle\Form\CommentType; | |
| use Your\Product\Bundle\Form\UserType; | |
| class CommentType extends AbstractType | |
| { | |
| public function buildForm(FormBuilderInterface $builder, array $options) | |
| { |
| <?php | |
| namespace Manhattan\Bundle\GalleryBundle\Tests\Form; | |
| use Symfony\Component\Form\FormFactory; | |
| use Symfony\Component\Form\Extension\Core\CoreExtension; | |
| use Manhattan\Bundle\GalleryBundle\Form\EventListener\EditFormSubscriber; | |
| class EditFormSubscriberTest extends \PHPUnit_Framework_TestCase |