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( |
||
36 | |||
37 | /** |
||
38 | * @return string|null |
||
39 | */ |
||
40 | public function getNamespace() |
||
44 | |||
45 | /** |
||
46 | * @return string |
||
47 | */ |
||
48 | public function getPath(): string |
||
52 | |||
53 | /** |
||
54 | * @return bool |
||
55 | */ |
||
56 | public function isHidden(): bool |
||
60 | |||
61 | /** |
||
62 | * @return bool |
||
63 | */ |
||
64 | public function isValid(): bool |
||
68 | } |
||
69 |