Created
June 2, 2014 12:10
-
-
Save Lumbendil/a049dc6b3d7b9a7b90eb to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Lumbendil\DoctrineSpecification; | |
| use Doctrine\ORM\Query; | |
| use Doctrine\ORM\QueryBuilder; | |
| interface Specification | |
| { | |
| /** | |
| * @param \Doctrine\ORM\QueryBuilder $qb | |
| * @param string $dqlAlias | |
| * | |
| * @return \Doctrine\ORM\Query\Expr|null | |
| */ | |
| public function match(QueryBuilder $qb, $dqlAlias); | |
| /** | |
| * @param \Doctrine\ORM\Query $query | |
| */ | |
| public function modifyQuery(Query $query); | |
| /** | |
| * @param \Doctrine\ORM\QueryBuilder $qb | |
| * @param string $dqlAlias | |
| */ | |
| public function modifyQueryBuilder(QueryBuilder $qb, $dqlAlias); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment