/** * Oskenuje hosta v argumentu na otevřené porty registrovaných služeb * * @param IEHost $hostToScan */ public function __construct($hostToScan = null) { parent::__construct(); $this->service = new IEService(); if (is_object($hostToScan)) { $this->host =& $hostToScan; $this->performScan(); } }