class Illuminate / Console / Scheduling / CommandBuilder
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

CommandBuilder

Methods

public

buildCommand ( Event $event ) : string

Build the command for the given event.

Parameters

protected

buildForegroundCommand ( Event $event ) : string

Build the command for running the event in the foreground.

Parameters

protected

buildBackgroundCommand ( Event $event ) : string

Build the command for running the event in the background.

Parameters

protected

ensureCorrectUser ( Event $event , $command ) : string

Finalize the event's command syntax with the correct user.

Parameters

  • $event Event
  • $command string