You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
992B

  1. <?php
  2. namespace Lc\SovBundle\Repository;
  3. interface StoreInterface
  4. {
  5. public function orderByDefault(RepositoryQueryInterface $query): RepositoryQueryInterface;
  6. public function filtersDefault(RepositoryQueryInterface $query): RepositoryQueryInterface;
  7. public function relationsDefault(RepositoryQueryInterface $query): RepositoryQueryInterface;
  8. public function createDefaultQuery(RepositoryQueryInterface $query = null): RepositoryQueryInterface;
  9. public function createQuery(RepositoryQueryInterface $query = null): RepositoryQueryInterface;
  10. public function getRepositoryQuery();
  11. public function getOneById(int $id);
  12. public function getOneBySlug(string $slug, bool $isOnline = true, $query = null);
  13. public function getOneByDevAlias(string $devAlias, bool $isOnline = true, $query = null);
  14. public function get($query = null);
  15. public function getOnline($query = null);
  16. public function getParent(bool $isOnline = true, $query = null);
  17. }