protected function lastPost($discussion) { return $this->hasOne($discussion, 'Flarum\\Api\\Serializer\\PostBasicSerializer'); }