CommandBuilder
class CommandBuilder (View source)
Methods
string
string
string
string
ensureCorrectUser(Event $event, string $command)
Finalize the event's command syntax with the correct user.
Details
string
buildCommand(Event $event)
Build the command for the given event.
protected string
buildForegroundCommand(Event $event)
Build the command for running the event in the foreground.
protected string
buildBackgroundCommand(Event $event)
Build the command for running the event in the background.
protected string
ensureCorrectUser(Event $event, string $command)
Finalize the event's command syntax with the correct user.