Total Complexity | 6 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class DirectorySourceBuilder implements SourceBuilderInterface |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | private $directoryPath; |
||
18 | |||
19 | /** |
||
20 | * DirectorySourceBuilder constructor. |
||
21 | * @param string $directoryPath |
||
22 | */ |
||
23 | public function __construct(string $directoryPath) |
||
24 | { |
||
25 | $this->directoryPath = $directoryPath; |
||
26 | } |
||
27 | |||
28 | |||
29 | /** |
||
30 | * @inheritdoc |
||
31 | * |
||
32 | * @throws InvariantException |
||
33 | */ |
||
34 | public function buildSource(): Source |
||
55 | } |
||
56 | } |
||
57 |