public function getName() { if ($this->embed->title) { return $this->embed->title; } else { return parent::getName(); } }