| Total Complexity | 5 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 13 | class FileWriter |
||
| 14 | { |
||
| 15 | /** @var string */ |
||
| 16 | private $baseDirectory; |
||
| 17 | /** @var string */ |
||
| 18 | private $separator; |
||
| 19 | |||
| 20 | public function __construct(string $baseDirectory, string $separator) |
||
| 24 | } |
||
| 25 | |||
| 26 | public static function default(): self |
||
| 31 | ); |
||
| 32 | } |
||
| 33 | |||
| 34 | public function write(string $namespace, string $class, string $content): void |
||
| 41 | } |
||
| 42 | |||
| 43 | public function pathFor(string $namespace, string $class): string |
||
| 54 |