Total Complexity | 7 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class CalculationBase |
||
6 | { |
||
7 | /** |
||
8 | * Get a list of all implemented functions as an array of function objects. |
||
9 | * |
||
10 | * return array<string, array<string, mixed>> |
||
11 | */ |
||
12 | public static function getFunctions(): array |
||
13 | { |
||
14 | return FunctionArray::$phpSpreadsheetFunctions; |
||
15 | } |
||
16 | |||
17 | /** |
||
18 | * Get address of list of all implemented functions as an array of function objects. |
||
19 | * |
||
20 | * @return array<string, array<string, mixed>> |
||
21 | */ |
||
22 | protected static function &getFunctionsAddress(): array |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param array<string, array<string, mixed>> $value |
||
29 | */ |
||
30 | public static function addFunction(string $key, array $value): bool |
||
40 | } |
||
41 | |||
42 | public static function removeFunction(string $key): bool |
||
56 |