Total Complexity | 4 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class Hollow implements IBuilder |
||
15 | { |
||
16 | use ItemTrait; |
||
17 | |||
18 | const IDENTIFIER = 'hollow'; |
||
19 | |||
20 | public function __construct() |
||
21 | { |
||
22 | $this->withName = false; |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @return string |
||
27 | */ |
||
28 | public function getIdentifier(): string |
||
29 | { |
||
30 | return static::IDENTIFIER; |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @return string[] |
||
35 | */ |
||
36 | public function wrapperTags(): array |
||
37 | { |
||
38 | return []; |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
||
43 | * |
||
44 | * @param Entity $list |
||
45 | * @param ParsedTemplate|null $template |
||
46 | * |
||
47 | * @return Data |
||
48 | */ |
||
49 | public function build($list, ?ParsedTemplate $template = null): IData |
||
57 | ); |
||
58 | } |
||
59 | } |
||
60 |