| Total Complexity | 3 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 10 | final class SubstitutionFactory |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var Style |
||
| 14 | */ |
||
| 15 | private $style; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var ProcessRunner |
||
| 19 | */ |
||
| 20 | private $processRunner; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var Filesystem |
||
| 24 | */ |
||
| 25 | private $filesystem; |
||
| 26 | |||
| 27 | public function __construct(Style $style, ProcessRunner $processRunner, Filesystem $filesystem) |
||
| 32 | } |
||
| 33 | |||
| 34 | public function dumpFile(string $filename, string $contents): DumpFileSubstitution |
||
| 42 | ); |
||
| 43 | } |
||
| 44 | |||
| 45 | public function inPlace(Finder $finder): InPlaceSubstitution |
||
| 54 | } |