hasMany(Post::class); } public function publish(Post $post) { // Why not $post->save(); ? // It would not carry the user information present in the posts() collection. $this->posts()->save($post); } }