This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AppBundle\Command; | |
use Doctrine\Bundle\DoctrineBundle\Command\Proxy\DoctrineCommandHelper; | |
use Gedmo\Mapping\ExtensionMetadataFactory; | |
use Symfony\Component\Console\Command\Command; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Console\Output\OutputInterface; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Drag & Drop table rows</title> | |
<script src="https://code.angularjs.org/1.5.8/angular.min.js"></script> | |
<script src="https://raw.githubusercontent.com/a5hik/ng-sortable/master/dist/ng-sortable.min.js"></script> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Acme\Component\Serializer\Normalizer; | |
use PommProject\ModelManager\Model\FlexibleEntity; | |
use Symfony\Component\Serializer\Normalizer\NormalizerInterface; | |
class FlexibleEntityNormalizer implements NormalizerInterface | |
{ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AppBundle\Pomm\Resolver; | |
use ArrayObject; | |
use PommProject\ModelManager\Model\FlexibleEntity; | |
class ModelClassResolver extends ArrayObject | |
{ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AppBundle\Form\DataTransformer; | |
use Symfony\Component\Form\DataTransformerInterface; | |
use Symfony\Component\Form\Exception\TransformationFailedException; | |
class DurationTransformer implements DataTransformerInterface | |
{ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AppBundle\Doctrine\ODM\Pagination; | |
use Doctrine\ODM\MongoDB\Query\Builder; | |
use Doctrine\ODM\MongoDB\Query\Query; | |
/** | |
* Simple adaptation of Doctrine\ORM\Tools\Pagination\Paginator | |
* for Doctrine ODM MongoDB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Application\DoctrineExtensions\Query\MySql; | |
use Doctrine\ORM\Query\SqlWalker; | |
use Doctrine\DBAL\DBALException; | |
/** | |
* $query = $qb->getQuery(); | |
* $query->setHint(Query::HINT_CUSTOM_OUTPUT_WALKER, '\Namespace\DoctrineExtensions\Query\MySql\SortableNullsWalker'); |