|
12345678910111213141516171819202122232425262728293031323334 |
- <?php
-
- namespace Lc\PietroBundle\Repository\Territory;
-
-
- use Lc\SovBundle\Repository\AbstractStore;
- use Lc\SovBundle\Repository\RepositoryQueryInterface;
- use Lc\SovBundle\Repository\StoreInterface;
-
- class TerritoryStore extends AbstractStore implements StoreInterface
- {
-
- public function __construct(TerritoryRepositoryQuery $query)
- {
- $this->query = $query;
- }
-
- public function orderByDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
- {
- $query->orderBy('id');
- return $query;
- }
-
- public function filtersDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
- {
- return $query;
- }
-
- public function relationsDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
- {
- return $query;
- }
-
- }
|