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
Detail
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\Core\Entities\EntityInterface;
5use Apie\HtmlBuilders\Components\BaseComponent;
6use Apie\HtmlBuilders\Interfaces\ComponentInterface;
7use Apie\HtmlBuilders\Lists\ComponentHashmap;
8
9class Detail extends BaseComponent
10{
11    public function __construct(
12        EntityInterface $entity,
13        SingleResourceActionList $resourceActionList,
14        ComponentInterface $table
15    ) {
16        parent::__construct(
17            [
18                'entity' => $entity,
19            ],
20            new ComponentHashmap([
21                'resourceActionList' => $resourceActionList,
22                'table' => $table
23            ])
24        );
25    }
26}