Prohibitable
trait Prohibitable (View source)
Properties
| static protected bool | $prohibitedFromRunning | Indicates if the command should be prohibited from running. |
Methods
static void
prohibit(bool $prohibit = true)
Indicate whether the command should be prohibited from running.
bool
isProhibited(bool $quiet = false)
Determine if the command is prohibited from running and display a warning if so.
Details
static void
prohibit(bool $prohibit = true)
Indicate whether the command should be prohibited from running.
protected bool
isProhibited(bool $quiet = false)
Determine if the command is prohibited from running and display a warning if so.
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.