Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class SymbolFilterChain implements SymbolFilterInterface |
||
10 | { |
||
11 | /** @var SymbolFilterInterface[] */ |
||
12 | private $filters; |
||
13 | |||
14 | /** |
||
15 | * Constructor. |
||
16 | * |
||
17 | * @param SymbolFilterInterface ...$filters |
||
18 | */ |
||
19 | 3 | public function __construct(SymbolFilterInterface ...$filters) |
|
22 | 3 | } |
|
23 | |||
24 | /** |
||
25 | * Filter the given symbol. |
||
26 | * |
||
27 | * @param string $symbol |
||
28 | * |
||
29 | * @return bool |
||
30 | */ |
||
31 | 3 | public function __invoke(string $symbol): bool |
|
42 |