public function setURL($path) { if (empty($path)) { throw new OAuthSimpleException('No path specified for OAuthSimple.setURL'); } $this->_path = $path; return $this; }