Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | final class Call implements ConsumerInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | private $method; |
||
18 | |||
19 | /** |
||
20 | * @var array |
||
21 | */ |
||
22 | private $arguments; |
||
23 | |||
24 | |||
25 | /** |
||
26 | * Call constructor. |
||
27 | * |
||
28 | * @param string $method |
||
29 | * @param array $arguments |
||
30 | */ |
||
31 | 1 | public function __construct(string $method, array $arguments = []) |
|
35 | 1 | } |
|
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | 1 | public function __invoke($element, $key = null): void |
|
45 |