Prose\FromBrowser::hasHttpBasicAuthForHost PHP Метод

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

public hasHttpBasicAuthForHost ( $hostname )
    public function hasHttpBasicAuthForHost($hostname)
    {
        // this method deliberately has no logging, because it is called
        // every single time that we want the browser to go to a new URL
        //
        // nothing else should really use this
        try {
            // get the browser adapter
            $adapter = $this->st->getDeviceAdapter();
            // get the details
            return $adapter->hasHttpBasicAuthForHost($hostname);
        } catch (Exception $e) {
            return false;
        }
    }