Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
11 | abstract class ARow |
||
12 | { |
||
13 | /** @var callable|string|array<string|object> */ |
||
14 | protected $functionName = ''; |
||
15 | /** @var array<int, mixed> */ |
||
16 | protected array $functionArgs = []; |
||
17 | |||
18 | /** |
||
19 | * @param callable|string|array<string|object> $functionName |
||
20 | * @return $this |
||
21 | */ |
||
22 | 5 | public function setFunctionName($functionName) |
|
26 | } |
||
27 | |||
28 | /** |
||
29 | * @param array<int, mixed> $functionArgs |
||
30 | * @return $this |
||
31 | */ |
||
32 | 5 | public function setFunctionArgs(array $functionArgs) |
|
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return callable|string|array<string|object> |
||
40 | */ |
||
41 | 5 | public function getFunctionName() |
|
42 | { |
||
43 | 5 | return $this->functionName; |
|
44 | } |
||
45 | |||
46 | /** |
||
47 | * @return array<int, mixed> |
||
48 | */ |
||
49 | 5 | public function getFunctionArgs() |
|
52 | } |
||
53 | } |
||
54 |