LdapTools\Ldif\LdifParser::getValueFromUrl PHP Метод

getValueFromUrl() защищенный Метод

Get the value of the URL data via a UrlLoader.
protected getValueFromUrl ( string $url ) : string
$url string
Результат string
    protected function getValueFromUrl($url)
    {
        $type = substr($url, 0, strpos($url, Ldif::KEY_VALUE_SEPARATOR));
        if (!$this->hasUrlLoader($type)) {
            $this->throwException(sprintf('Cannot find a URL loader for type "%s"', $type));
        }
        try {
            return $this->urlLoaders[$type]->load($url);
        } catch (LdifUrlLoaderException $e) {
            $this->throwException($e->getMessage());
        }
    }