lib/boab/cms-bundle/src/Repository/ContentRepositoryInterface.php line 33

Open in your IDE?
  1. <?php
  2. namespace Boab\CmsBundle\Repository;
  3. use Boab\CmsBundle\Entity\ContentInterface;
  4. use Boab\CmsBundle\Service\PaginationInterface;
  5. use Boab\CmsBundle\Util\DataTable\DataTableContextInterface;
  6. interface ContentRepositoryInterface
  7. {
  8.     public function findContents(array $params);
  9.     public function findContentByTermId(int $id):? PaginationInterface;
  10.     public function findAllContentByType(string $type):?iterable;
  11.     public function findPossiblePageParent(string $contentTypeint $id=null): ?array;
  12.     public function findContentCollection(array $entityClassesint $page): PaginationInterface;
  13.     public function findContentByRouteId(int $routeId): ?ContentInterface;
  14.     public function findContentById(int $id): ContentInterface;
  15.     public function findContentBySlug(string $slug): ?ContentInterface;
  16.     public function findContentBySearchTerm(array $params);
  17.     public function findContentsByType(string $typeint $pagestring $status=ContentInterface::STATUS_PUBLISHED);
  18.     public function delete(ContentInterface $content):void;
  19.     public function findContentsByParentId($parentId$limit=0$orderBy$order): iterable;
  20. }