1 | <?php |
||
15 | class Daemon extends External { |
||
16 | |||
17 | 6 | /** @var string */ |
|
18 | 6 | private $avHost; |
|
19 | |||
20 | 6 | /** @var int */ |
|
21 | 6 | private $avPort; |
|
22 | |||
23 | 6 | /** |
|
24 | 6 | * Daemon constructor. |
|
25 | * |
||
26 | 6 | * @param AppConfig $config |
|
27 | 6 | * @param ILogger $logger |
|
28 | 6 | * @throws InitException |
|
29 | 2 | */ |
|
30 | 2 | public function __construct(AppConfig $config, ILogger $logger) { |
|
55 | |||
56 | 2 | /** |
|
57 | 2 | * @throws InitException |
|
58 | */ |
||
59 | public function initScanner(){ |
||
72 | } |
||
73 |
If you suppress an error, we recommend checking for the error condition explicitly: