| 1 | <?php declare(strict_types=1); |
||
| 7 | class ScriptsPath |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $namespace; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var bool |
||
| 16 | */ |
||
| 17 | private $hidden; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $path; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $workingDirectory; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $namespace |
||
| 31 | */ |
||
| 32 | public function __construct( |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string|null |
||
| 46 | */ |
||
| 47 | public function getNamespace() |
||
| 51 | |||
| 52 | public function getPath(): string |
||
| 56 | |||
| 57 | public function isHidden(): bool |
||
| 61 | |||
| 62 | public function isValid(): bool |
||
| 66 | |||
| 67 | public function getWorkingDirectory(): string |
||
| 71 | } |
||
| 72 |