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() |
|
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | * |
||
58 | * @throws \InvalidArgumentException |
||
59 | */ |
||
60 | 8 | public function getTokenParsers() |
|
75 | |||
76 | /** |
||
77 | * {@inheritdoc} |
||
78 | */ |
||
79 | 8 | public function getNodeVisitors() |
|
86 | |||
87 | /** |
||
88 | * @param array $style1 |
||
89 | * @param array $style2 |
||
90 | * |
||
91 | * @throws \Twig_Error_Runtime |
||
92 | * |
||
93 | * @return array |
||
94 | */ |
||
95 | public function mergeStyles(array $style1, array $style2): array |
||
103 | |||
104 | /** |
||
105 | * @param array $context |
||
106 | * @return int|null |
||
107 | */ |
||
108 | public function getRowIndex(array $context) { |
||
111 | } |
||
112 |