1 | <?php declare(strict_types=1); |
||
9 | class Script |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $directory; |
||
15 | |||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | private $scriptName; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | private $environment; |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | public $description; |
||
30 | |||
31 | /** |
||
32 | * @var bool |
||
33 | */ |
||
34 | private $inHiddenPath; |
||
35 | |||
36 | /** |
||
37 | * @param string $directory |
||
38 | * @param string $scriptName |
||
39 | * @param bool $inHiddenPath |
||
40 | * @param string $environment |
||
41 | * @param string $description |
||
42 | */ |
||
43 | public function __construct( |
||
56 | |||
57 | /** |
||
58 | * @return string |
||
59 | */ |
||
60 | public function getTmpPath(): string |
||
64 | |||
65 | |||
66 | /** |
||
67 | * @return string |
||
68 | */ |
||
69 | public function getPath(): string |
||
73 | |||
74 | /** |
||
75 | * @return string |
||
76 | */ |
||
77 | public function getDirectory(): string |
||
81 | |||
82 | /** |
||
83 | * @return string |
||
84 | */ |
||
85 | public function getName(): string |
||
95 | |||
96 | /** |
||
97 | * @return string|null |
||
98 | */ |
||
99 | public function getEnvironment() |
||
103 | |||
104 | /** |
||
105 | * @return string |
||
106 | */ |
||
107 | public function getDescription(): string |
||
111 | |||
112 | /** |
||
113 | * @return bool |
||
114 | */ |
||
115 | public function isHidden(): bool |
||
119 | } |
||
120 |