1 | <?php |
||
19 | class TwigSpreadsheetExtension extends \Twig_Extension |
||
20 | { |
||
21 | /** |
||
22 | * @var array |
||
23 | */ |
||
24 | private $attributes; |
||
25 | |||
26 | /** |
||
27 | * TwigSpreadsheetExtension constructor. |
||
28 | * |
||
29 | * @param array $attributes |
||
30 | */ |
||
31 | 26 | public function __construct(array $attributes = []) |
|
35 | |||
36 | /** |
||
37 | * @return array |
||
38 | */ |
||
39 | 2 | public function getAttributes(): array |
|
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | 8 | public function getFunctions() |
|
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | * |
||
57 | * @throws \InvalidArgumentException |
||
58 | */ |
||
59 | 8 | public function getTokenParsers() |
|
74 | |||
75 | /** |
||
76 | * {@inheritdoc} |
||
77 | */ |
||
78 | 8 | public function getNodeVisitors() |
|
85 | |||
86 | /** |
||
87 | * @param array $style1 |
||
88 | * @param array $style2 |
||
89 | * |
||
90 | * @throws \Twig_Error_Runtime |
||
91 | * |
||
92 | * @return array |
||
93 | */ |
||
94 | public function mergeStyles(array $style1, array $style2): array |
||
102 | } |
||
103 |