| 1 | <?php declare(strict_types=1); |
||
| 5 | class ScriptsPath |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | private $namespace; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var bool |
||
| 14 | */ |
||
| 15 | private $hidden; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $path; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $path |
||
| 24 | * @param bool $hidden |
||
| 25 | * @param string $namespace |
||
| 26 | */ |
||
| 27 | public function __construct(string $path, bool $hidden, string $namespace = null) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return string|null |
||
| 36 | */ |
||
| 37 | public function getNamespace() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | public function getPath(): string |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return bool |
||
| 52 | */ |
||
| 53 | public function isHidden(): bool |
||
| 57 | } |
||
| 58 |