Total Complexity | 1 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class GridFactory |
||
14 | { |
||
15 | const ATTRIBUTE_CLASS = 'class'; |
||
16 | |||
17 | /** @var array */ |
||
18 | protected $attributes = [ |
||
19 | self::ATTRIBUTE_CLASS => 'grid', |
||
20 | ]; |
||
21 | |||
22 | |||
23 | /** |
||
24 | * @param TableFactory $table |
||
25 | * @param IPagination $pagination |
||
26 | * @param Filters $filters |
||
27 | * @param Actions|null $actions |
||
28 | * |
||
29 | * @return Grid |
||
30 | */ |
||
31 | public function create(Table $table, IPagination $pagination, Filters $filters, ?Actions $actions): Grid |
||
36 |