protected function user($post) { return $this->hasOne($post, 'Flarum\\Api\\Serializer\\UserBasicSerializer'); }