| 1 | <?php |
||
| 7 | class SourceFolder |
||
| 8 | { |
||
| 9 | const TYPE_SOURCE = 'source'; |
||
| 10 | const TYPE_TEST_SOURCE = 'test_source'; |
||
| 11 | const TYPE_EXCLUDED = 'excluded'; |
||
| 12 | |||
| 13 | private $path; |
||
| 14 | private $type; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string|null |
||
| 18 | */ |
||
| 19 | private $packagePrefix; |
||
| 20 | |||
| 21 | public function __construct(string $path, string $type) |
||
| 26 | |||
| 27 | public function getPath(): string |
||
| 31 | |||
| 32 | public function getType(): string |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string|null |
||
| 39 | */ |
||
| 40 | public function getPackagePrefix() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param string|null $packagePrefix |
||
| 47 | * @return $this |
||
| 48 | */ |
||
| 49 | public function setPackagePrefix($packagePrefix): self |
||
| 54 | } |
||
| 55 |