public function get($url) {
		$reporting = error_reporting(0);
		$context = $this->_createContext();
		$contents = file_get_contents($url, false, $context);
		error_reporting($reporting);

		if ($contents === false) {
			$code = isset($http_response_header[0])
				? $this->_extractHttpCode($http_response_header[0])
				: $this->_defaultCode;

			throw new Exception($url, $code);
		}

		return $contents;
	}
public function get($url) {
		$reporting = error_reporting(0);
		$context = $this->_createContext();
		$contents = file_get_contents($url, false, $context);
		error_reporting($reporting);

		if ($contents === false) {
			$code = isset($http_response_header[0])
				? $this->_extractHttpCode($http_response_header[0])
				: $this->_defaultCode;

			throw new Exception($url, $code);
		}

		return $contents;
	}
public function get ( $ url ) { $ reporting = error_reporting ( 0 ) ; $ context = $ this -> _createContext ( ) ; $ contents = file_get_contents ( $ url , false , $ context ) ; error_reporting ( $ reporting ) ; if ( $ contents === false ) { $ code = isset ( $ http_response_header [ 0 ] ) ? $ this -> _extractHttpCode ( $ http_response_header [ 0 ] ) : $ this -> _defaultCode ; throw new Exception ( $ url , $ code ) ; } return $ contents ; }
Retrieves contents from the given URL.

@param string $url The URL fo fetch contents from.
@return string The fetched contents.
@throws Essence\Http\Exception
Retrieves contents from the given URL .