Documentation

CommandBuilder
in package

Table of Contents

buildCommand()  : string
Build the command for the given event.
buildBackgroundCommand()  : string
Build the command for running the event in the background.
buildForegroundCommand()  : string
Build the command for running the event in the foreground.
ensureCorrectUser()  : string
Finalize the event's command syntax with the correct user.

Methods

buildCommand()

Build the command for the given event.

public buildCommand(Event $event) : string
Parameters
$event : Event
Return values
string

buildBackgroundCommand()

Build the command for running the event in the background.

protected buildBackgroundCommand(Event $event) : string
Parameters
$event : Event
Return values
string

buildForegroundCommand()

Build the command for running the event in the foreground.

protected buildForegroundCommand(Event $event) : string
Parameters
$event : Event
Return values
string

ensureCorrectUser()

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

protected ensureCorrectUser(Event $event, string $command) : string
Parameters
$event : Event
$command : string
Return values
string

Search results