CommandBuilder
class CommandBuilder (View source)
Methods
string | buildCommand(Event $event) Build the command for the given event. | |
string | buildForegroundCommand(Event $event) Build the command for running the event in the foreground. | |
string | buildBackgroundCommand(Event $event) Build the command for running the event in the background. | |
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Console/Scheduling/CommandBuilder.html