/** * Execute the command. * * @param FeedRepository $feedRepository * * @return void */ public function handle() { $feed = Feed::publish($this->body, $this->posterFirstname, $this->posterProfileImage); Auth::user()->feeds()->save($feed); return $feed; }