1 | <?php |
||
13 | class StructuredElements |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * @var TextElement[] |
||
18 | */ |
||
19 | private $elements; |
||
20 | |||
21 | /** |
||
22 | * @var Structure |
||
23 | */ |
||
24 | private $structure; |
||
25 | |||
26 | /** |
||
27 | * @param TextElement[] $elements |
||
28 | * @param Structure $structure |
||
29 | */ |
||
30 | public function __construct(array $elements, Structure $structure) |
||
41 | |||
42 | /** |
||
43 | * @return TextElement[] |
||
44 | */ |
||
45 | public function getElements() |
||
49 | |||
50 | /** |
||
51 | * @return Structure |
||
52 | */ |
||
53 | public function getStructure() |
||
57 | |||
58 | /** |
||
59 | * Render structured element |
||
60 | * |
||
61 | * @return string |
||
62 | */ |
||
63 | public function render() |
||
74 | } |
||
75 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.