configure cruds
This commit is contained in:
parent
fd0205d313
commit
6df0000382
13 changed files with 118 additions and 65 deletions
15
src/Repository/ToolRepositoryQuery.php
Normal file
15
src/Repository/ToolRepositoryQuery.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace App\Repository;
|
||||
|
||||
use App\Core\Repository\RepositoryQuery;
|
||||
use Knp\Component\Pager\PaginatorInterface;
|
||||
use App\Repository\ToolRepository as Repository;
|
||||
|
||||
class ToolRepositoryQuery extends RepositoryQuery
|
||||
{
|
||||
public function __construct(Repository $repository, PaginatorInterface $paginator)
|
||||
{
|
||||
parent::__construct($repository, 't', $paginator);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue