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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.