1 | <?php |
||
21 | class TwigSpreadsheetExtension extends \Twig_Extension |
||
22 | { |
||
23 | /** |
||
24 | * @var array |
||
25 | */ |
||
26 | private $attributes; |
||
27 | |||
28 | /** |
||
29 | * TwigSpreadsheetExtension constructor. |
||
30 | * |
||
31 | * @param array $attributes |
||
32 | */ |
||
33 | 26 | public function __construct(array $attributes = []) |
|
37 | |||
38 | /** |
||
39 | * @return array |
||
40 | */ |
||
41 | 2 | public function getAttributes(): array |
|
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | 8 | public function getFunctions() |
|
56 | |||
57 | /** |
||
58 | * {@inheritdoc} |
||
59 | * |
||
60 | * @throws \InvalidArgumentException |
||
61 | */ |
||
62 | 8 | public function getTokenParsers() |
|
77 | |||
78 | /** |
||
79 | * {@inheritdoc} |
||
80 | */ |
||
81 | 8 | public function getNodeVisitors() |
|
88 | |||
89 | /** |
||
90 | * @param array $style1 |
||
91 | * @param array $style2 |
||
92 | * |
||
93 | * @throws \Twig_Error_Runtime |
||
94 | * |
||
95 | * @return array |
||
96 | */ |
||
97 | public function mergeStyles(array $style1, array $style2): array |
||
105 | |||
106 | /** |
||
107 | * @param array $context |
||
108 | * @return int|null |
||
109 | */ |
||
110 | public function getRowIndex(array $context) { |
||
113 | } |
||
114 |