private function discoverService($port) { $portname = basename($port, '.php'); $W = $this; $ip = $this->curr_ip; $host = $this->curr_host; $username = $this->getCurrUsername(); Dog_Log::logDebug(sprintf('Probe %s (%s) [%s] on port %s', $host, $ip, $username, $portname)); include $port; }