| 1 | <?php declare(strict_types=1); | ||
| 11 | abstract class Program extends AbstractResource implements ProgramInterface | ||
| 12 | { | ||
| 13 | /** | ||
| 14 | * @var string | ||
| 15 | */ | ||
| 16 | protected $group; | ||
| 17 | |||
| 18 | /** | ||
| 19 | * @var string | ||
| 20 | */ | ||
| 21 | protected $name; | ||
| 22 | |||
| 23 | /** | ||
| 24 | * @var int | ||
| 25 | */ | ||
| 26 | protected $pid; | ||
| 27 | |||
| 28 | /** | ||
| 29 | * @var string | ||
| 30 | */ | ||
| 31 | protected $description; | ||
| 32 | |||
| 33 | /** | ||
| 34 | * @var int | ||
| 35 | */ | ||
| 36 | protected $state; | ||
| 37 | |||
| 38 | /** | ||
| 39 | * @var string | ||
| 40 | */ | ||
| 41 | protected $statename; | ||
| 42 | |||
| 43 | /** | ||
| 44 | * @var int | ||
| 45 | */ | ||
| 46 | protected $now; | ||
| 47 | |||
| 48 | /** | ||
| 49 | * @var int | ||
| 50 | */ | ||
| 51 | protected $start; | ||
| 52 | |||
| 53 | /** | ||
| 54 | * @var int | ||
| 55 | */ | ||
| 56 | protected $stop; | ||
| 57 | |||
| 58 | /** | ||
| 59 | * @var string | ||
| 60 | */ | ||
| 61 | protected $spawnerr; | ||
| 62 | |||
| 63 | /** | ||
| 64 | * @var int | ||
| 65 | */ | ||
| 66 | protected $exitstatus; | ||
| 67 | |||
| 68 | /** | ||
| 69 | * @var string | ||
| 70 | */ | ||
| 71 | protected $logfile; | ||
| 72 | |||
| 73 | /** | ||
| 74 | * @var string | ||
| 75 | */ | ||
| 76 | protected $stdout_logfile; | ||
| 77 | |||
| 78 | /** | ||
| 79 | * @var string | ||
| 80 | */ | ||
| 81 | protected $stderr_logfile; | ||
| 82 | |||
| 83 | /** | ||
| 84 | * @return string | ||
| 85 | */ | ||
| 86 | public function group(): string | ||
| 90 | |||
| 91 | /** | ||
| 92 | * @return string | ||
| 93 | */ | ||
| 94 | public function name(): string | ||
| 98 | |||
| 99 | /** | ||
| 100 | * @return int | ||
| 101 | */ | ||
| 102 | public function pid(): int | ||
| 106 | |||
| 107 | /** | ||
| 108 | * @return string | ||
| 109 | */ | ||
| 110 | public function description(): string | ||
| 114 | |||
| 115 | /** | ||
| 116 | * @return int | ||
| 117 | */ | ||
| 118 | public function state(): int | ||
| 122 | |||
| 123 | /** | ||
| 124 | * @return string | ||
| 125 | */ | ||
| 126 | public function statename(): string | ||
| 130 | |||
| 131 | /** | ||
| 132 | * @return int | ||
| 133 | */ | ||
| 134 | public function now(): int | ||
| 138 | |||
| 139 | /** | ||
| 140 | * @return int | ||
| 141 | */ | ||
| 142 | public function start(): int | ||
| 146 | |||
| 147 | /** | ||
| 148 | * @return int | ||
| 149 | */ | ||
| 150 | public function stop(): int | ||
| 154 | |||
| 155 | /** | ||
| 156 | * @return string | ||
| 157 | */ | ||
| 158 | public function spawnerr(): string | ||
| 162 | |||
| 163 | /** | ||
| 164 | * @return int | ||
| 165 | */ | ||
| 166 | public function exitstatus(): int | ||
| 170 | |||
| 171 | /** | ||
| 172 | * @return string | ||
| 173 | */ | ||
| 174 | public function logfile(): string | ||
| 178 | |||
| 179 | /** | ||
| 180 | * @return string | ||
| 181 | */ | ||
| 182 | public function stdoutLogfile(): string | ||
| 186 | |||
| 187 | /** | ||
| 188 | * @return string | ||
| 189 | */ | ||
| 190 | public function stderrLogfile(): string | ||
| 194 | } | ||
| 195 |