| Conditions | 2 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | 9 | public function __invoke(DataContainerInterface $container): bool |
|
| 33 | { |
||
| 34 | 9 | return array_reduce( |
|
| 35 | 9 | $this->filters, |
|
| 36 | function ( |
||
| 37 | bool $carry, |
||
| 38 | DataContainerFilterInterface $filter |
||
| 39 | ) use ( |
||
| 40 | 8 | $container |
|
| 41 | ): bool { |
||
| 42 | 8 | return $carry && $filter($container); |
|
| 43 | 9 | }, |
|
| 44 | 9 | true |
|
| 45 | ); |
||
| 48 |