Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class PatcherChain implements Patcher |
||
10 | { |
||
11 | /** |
||
12 | * @var array<(callable(string, string, string): string)|Patcher> |
||
|
|||
13 | */ |
||
14 | private array $patchers; |
||
15 | |||
16 | /** |
||
17 | * @param array<callable(string, string, string): string> $patchers |
||
18 | */ |
||
19 | public function __construct(array $patchers = []) |
||
22 | } |
||
23 | |||
24 | public function __invoke(string $filePath, string $prefix, string $contents): string |
||
33 |