1 | <?php |
||
22 | class TwigSpreadsheetExtension extends \Twig_Extension |
||
23 | { |
||
24 | /** |
||
25 | * @var array |
||
26 | */ |
||
27 | private $attributes; |
||
28 | |||
29 | /** |
||
30 | * TwigSpreadsheetExtension constructor. |
||
31 | * |
||
32 | * @param array $attributes |
||
33 | */ |
||
34 | 26 | public function __construct(array $attributes = []) |
|
38 | |||
39 | /** |
||
40 | * @return array |
||
41 | */ |
||
42 | 2 | public function getAttributes(): array |
|
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | 8 | public function getFunctions() |
|
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | * |
||
62 | * @throws \InvalidArgumentException |
||
63 | */ |
||
64 | 8 | public function getTokenParsers() |
|
79 | |||
80 | /** |
||
81 | * {@inheritdoc} |
||
82 | */ |
||
83 | 8 | public function getNodeVisitors() |
|
90 | |||
91 | /** |
||
92 | * @param array $style1 |
||
93 | * @param array $style2 |
||
94 | * |
||
95 | * @throws \Twig_Error_Runtime |
||
96 | * |
||
97 | * @return array |
||
98 | */ |
||
99 | 2 | public function mergeStyles(array $style1, array $style2): array |
|
106 | |||
107 | /** |
||
108 | * @param array $context |
||
109 | * |
||
110 | * @throws \Twig_Error_Runtime |
||
111 | * |
||
112 | * @return int|null |
||
113 | */ |
||
114 | 4 | public function getCurrentColumn(array $context) { |
|
120 | |||
121 | /** |
||
122 | * @param array $context |
||
123 | * |
||
124 | * @throws \Twig_Error_Runtime |
||
125 | * |
||
126 | * @return int|null |
||
127 | */ |
||
128 | 4 | public function getCurrentRow(array $context) { |
|
134 | } |
||
135 |