private function __construct($path) { $this->_path = $path; $this->_method = Method::GET(); $this->_query = array(); $this->_header = array(); $this->_content = array(); }
protected function getRequest($path = '') { return $this->exec($path, Method::GET(), $this->request($path)->setQuery($this->paramWithReset())); }