| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class FileSourceBuilder implements SourceBuilderInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $filePath; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * FileSourceBuilder constructor. |
||
| 21 | * @param string $filePath |
||
| 22 | */ |
||
| 23 | public function __construct(string $filePath) |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @inheritdoc |
||
| 30 | * |
||
| 31 | * @throws FileNotFoundException |
||
| 32 | * @throws InvariantException |
||
| 33 | */ |
||
| 34 | public function build(): Source |
||
| 43 |