/**
  * Handle the command
  *
  * @param $command
  * @return mixed
  */
 public function handle($command)
 {
     $status = Status::publish($command->body);
     $this->statusRepository->save($status, $command->userId);
     $this->dispatchEventsFor($status);
     return $status;
 }
 /**
  * Display a listing of the resource.
  * GET /status
  *
  * @return Response
  */
 public function index()
 {
     $statuses = $this->statusRepository->getFeedForUser(Auth::user());
     return View::make('statuses.index')->withStatuses($statuses);
 }