public function getTag() { $tags = $this->getTags(); if ($tags->count() > 0) { return $tags->last(); } return null; }