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