baseUrl = $baseUrl; parent::__construct($user, $pass); } /** * Returns the base API URL */ protected function getUrlApi() { return $this->baseUrlFull . 'api/'; } /** * Output URL: status */ public function getUrlOutputStatus(StdClass $tweet) { return $this->baseUrl . 'notice/' . urlencode($tweet->id); } }