public function getTematica() { $tematica = Tematica::find($this->id_tematica); return $tematica->nombre; }