Total Complexity | 3 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 2 |
1 | <?php |
||
13 | final class ContextVeil implements Indifferent |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * Ctor. |
||
18 | * |
||
19 | * @phpstan-param T $origin |
||
20 | * @phpstan-param Closure(T): T $context |
||
21 | * @phpstan-param array<string, mixed> $methods |
||
22 | * @param object $origin original element. |
||
23 | * @param Closure $context context for the element. |
||
24 | * @param array<string, mixed> $methods methods on which the element must |
||
25 | * be modified. |
||
26 | */ |
||
27 | public function __construct( |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * {@inheritDoc} |
||
57 | */ |
||
58 | public function __call(string $name, array $arguments): mixed |
||
66 |