1 | <?php |
||
14 | class ProcessBase extends Process |
||
15 | { |
||
16 | private $simulated = false; |
||
17 | |||
18 | private $verbose = false; |
||
19 | |||
20 | /** |
||
21 | * @var LoggerInterface |
||
22 | */ |
||
23 | private $logger; |
||
24 | |||
25 | /** |
||
26 | * @return bool |
||
27 | */ |
||
28 | public function getVerbose() |
||
32 | |||
33 | /** |
||
34 | * @param bool $verbose |
||
35 | */ |
||
36 | public function setVerbose($verbose) |
||
40 | |||
41 | /** |
||
42 | * @return bool |
||
43 | */ |
||
44 | public function getSimulated() |
||
48 | |||
49 | /** |
||
50 | * @param bool $simulated |
||
51 | */ |
||
52 | public function setSimulated($simulated) |
||
56 | |||
57 | /** |
||
58 | * @return LoggerInterface |
||
59 | */ |
||
60 | public function getLogger() |
||
64 | |||
65 | /** |
||
66 | * @param LoggerInterface $logger |
||
67 | */ |
||
68 | public function setLogger($logger) |
||
72 | |||
73 | /** |
||
74 | * @inheritDoc |
||
75 | */ |
||
76 | public function start(callable $callback = null) |
||
92 | } |
||
93 |