Skip to content

Commit

Permalink
use happyr specification
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangut committed Jun 4, 2017
1 parent 3f1c167 commit c057683
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ $entityManager = \Doctrine\ORM\EntityManager::create([], $config);

Head to [juliangut/doctrine-base-repositories](https://github.com/juliangut/doctrine-base-repositories) for a list of new methods provided by the repository

Additionally [Specification pattern](https://en.wikipedia.org/wiki/Specification_pattern) is supported thanks to [rikbruil/Doctrine-Specification](https://github.com/rikbruil/Doctrine-Specification)
Additionally [Specification pattern](https://en.wikipedia.org/wiki/Specification_pattern) is supported thanks to [happyr/doctrine-specification](https://github.com/Happyr/Doctrine-Specification)

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"php": "^7.0",
"doctrine/orm": "^2.4",
"juliangut/doctrine-base-repositories": "dev-master",
"rikbruil/doctrine-specification": "^1.2"
"happyr/doctrine-specification": "^0.7.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.0",
Expand Down
8 changes: 4 additions & 4 deletions src/RelationalRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,23 @@
use Doctrine\ORM\Query;
use Doctrine\ORM\QueryBuilder;
use Doctrine\ORM\Tools\Pagination\Paginator as RelationalPaginator;
use Happyr\DoctrineSpecification\EntitySpecificationRepositoryInterface;
use Happyr\DoctrineSpecification\EntitySpecificationRepositoryTrait;
use Jgut\Doctrine\Repository\EventsTrait;
use Jgut\Doctrine\Repository\PaginatorTrait;
use Jgut\Doctrine\Repository\Repository;
use Jgut\Doctrine\Repository\RepositoryTrait;
use Rb\Specification\Doctrine\SpecificationAwareInterface;
use Rb\Specification\Doctrine\SpecificationRepositoryTrait;
use Zend\Paginator\Paginator;

/**
* Relational entity repository.
*/
class RelationalRepository extends EntityRepository implements Repository, SpecificationAwareInterface
class RelationalRepository extends EntityRepository implements Repository, EntitySpecificationRepositoryInterface
{
use SpecificationRepositoryTrait;
use RepositoryTrait;
use EventsTrait;
use PaginatorTrait;
use EntitySpecificationRepositoryTrait;

/**
* Class name.
Expand Down

0 comments on commit c057683

Please sign in to comment.