| 1 | <?php declare(strict_types=1); |
||
| 5 | class ScriptsPath |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | private $namespace; |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | private $path; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param string $namespace |
||
| 18 | * @param string $path |
||
| 19 | */ |
||
| 20 | public function __construct(string $path, string $namespace = null) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return string|null |
||
| 28 | */ |
||
| 29 | public function getNamespace() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | public function getPath(): string |
||
| 41 | } |
||
| 42 |