Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

StoreInterface.php 1.1KB

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