public function topic() { return $this->belongsTo('FluxBB\\Models\\Topic'); }
public function addReply(Post $post) { $post->topic()->associate($this); $this->lastPost()->associate($post); $this->forum->lastPost()->associate($post); }