public function buildCommand(Event $event)
    {
        if ($event->runInBackground) {
            return $this->buildBackgroundCommand($event);
        }

        return $this->buildForegroundCommand($event);
    }
public function buildCommand(Event $event)
    {
        if ($event->runInBackground) {
            return $this->buildBackgroundCommand($event);
        }

        return $this->buildForegroundCommand($event);
    }
public function buildCommand ( Event $ event ) { if ( $ event -> runInBackground ) { return $ this -> buildBackgroundCommand ( $ event ) ; } return $ this -> buildForegroundCommand ( $ event ) ; }
Build the command for the given event.

@param  \Illuminate\Console\Scheduling\Event  $event
@return string
Build the command for the given event .