| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 12 | final class ArgumentResolver implements PipelineInterface |
||
| 13 | { |
||
| 14 | private SplPriorityQueue $pipeline; |
||
| 15 | |||
| 16 | private int $secondPriority = \PHP_INT_MAX; |
||
| 17 | |||
| 18 | 5 | public function __construct() |
|
| 21 | } |
||
| 22 | |||
| 23 | 1 | public function __clone() |
|
| 26 | } |
||
| 27 | |||
| 28 | 4 | public function resolve(mixed $argument): array |
|
| 29 | { |
||
| 30 | 4 | return (new Next($this->pipeline, new CantResolveArgumentResolver()))->resolve($argument); |
|
| 31 | } |
||
| 32 | |||
| 33 | 3 | public function pipe(MiddlewareInterface $middleware, int $priority = 0): void |
|
| 36 | } |
||
| 37 | } |
||
| 38 |