DataSift\Storyplayer\HostLib\VagrantVm::determineIpAddress PHP Метод

determineIpAddress() публичный Метод

public determineIpAddress ( VagrantVmDetails $vmDetails ) : string
$vmDetails VagrantVmDetails
Результат string
    public function determineIpAddress($vmDetails)
    {
        // what are we doing?
        $log = usingLog()->startAction("determine IP address of Vagrant VM '{$vmDetails->hostId}'");
        // create an adapter to talk to the host operating system
        $host = OsLib::getHostAdapter($this->st, $vmDetails->osName);
        // get the IP address
        $ipAddress = $host->determineIpAddress($vmDetails, $this);
        // all done
        $log->endAction("IP address is '{$ipAddress}'");
        return $ipAddress;
    }