Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
9 / 9
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
ResourceActionList
100.00% covered (success)
100.00%
9 / 9
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
9 / 9
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2namespace Apie\HtmlBuilders\Components\Resource;
3
4use Apie\HtmlBuilders\Components\BaseComponent;
5use Apie\HtmlBuilders\Configuration\CurrentConfiguration;
6use Apie\HtmlBuilders\Interfaces\ComponentInterface;
7use Apie\HtmlBuilders\Lists\ActionList;
8use Apie\HtmlBuilders\Lists\ComponentHashmap;
9
10class ResourceActionList extends BaseComponent
11{
12    public function __construct(
13        CurrentConfiguration $currentConfiguration,
14        ActionList $resourceActionList,
15        ComponentInterface $filterColumns,
16    ) {
17        parent::__construct(
18            [
19                'actions' => $resourceActionList,
20                'config' => $currentConfiguration,
21            ],
22            new ComponentHashmap([
23                'filterColumns' => $filterColumns,
24            ])
25        );
26    }
27}