Essence\Http\Client::get PHP Метод

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

Retrieves contents from the given URL.
public get ( string $url ) : string
$url string The URL fo fetch contents from.
Результат string The contents.
    public function get($url);

Usage Example

Пример #1
0
 /**
  *	{@inheritDoc}
  */
 protected function _extract($url, array $options)
 {
     $html = $this->_Http->get($url);
     $metas = $this->_extractMetas($html);
     if (empty($metas)) {
         throw new Exception("Unable to extract meta tags from '{$url}'.");
     }
     return $this->_media($metas);
 }
All Usage Examples Of Essence\Http\Client::get