tinternet.net/src/Repository/Blog/CategoryRepositoryQuery.php

20 lines
437 B
PHP
Raw Normal View History

<?php
namespace App\Repository\Blog;
2021-03-17 12:44:02 +01:00
use Knp\Component\Pager\PaginatorInterface;
2021-03-20 13:41:15 +01:00
use App\Core\Repository\RepositoryQuery;
/**
* class CategoryRepositoryQuery.
*
* @author Simon Vieille <simon@deblan.fr>
*/
class CategoryRepositoryQuery extends RepositoryQuery
{
2021-03-16 17:49:10 +01:00
public function __construct(CategoryRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'c', $paginator);
}
}