protected function _buildConfig($url) { $endpoint = Template::compile($this->_endpoint, compact('url'), 'urlencode'); return new Config($endpoint, $this->_format); }