entry = $entry; $this->type = $type; $this->thumbnail = $thumbnail; $this->url = $url; return $this; } /** * * @return mixed */ private function get($key, $default = null) { return isset($this->entry[$key]) ? $this->entry[$key] : $default; } /** * * @return void */ public function get_created_on() { return; } /** * * @return string */ public function get_description() { return $this->get("description", ''); } /** * * @return string */ public function get_id() { return $this->get("id", ''); } /** * * @param type $width * @param type $height * @return string */ public function get_thumbnail($width = 120, $height = 90) { return $this->thumbnail; } /** * * @return string */ public function get_title() { return $this->get("name", ''); } /** * * @return string */ public function get_type() { return $this->type; } /** * * @return void */ public function get_updated_on() { return; } /** * * @return void */ public function get_url() { return $this->url; } public function get_duration() { return ''; } public function get_category() { return ''; } public function is_private() { return null; } }