20 lines
437 B
PHP
20 lines
437 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Repository\Blog;
|
||
|
|
||
|
use App\Core\Repository\RepositoryQuery;
|
||
|
use Knp\Component\Pager\PaginatorInterface;
|
||
|
|
||
|
/**
|
||
|
* class CategoryRepositoryQuery.
|
||
|
*
|
||
|
* @author Simon Vieille <simon@deblan.fr>
|
||
|
*/
|
||
|
class CategoryRepositoryQuery extends RepositoryQuery
|
||
|
{
|
||
|
public function __construct(CategoryRepository $repository, PaginatorInterface $paginator)
|
||
|
{
|
||
|
parent::__construct($repository, 'c', $paginator);
|
||
|
}
|
||
|
}
|