$environment->cli()
Checks if the request is being served by the CLI
$environment->cli(): bool
Return type
bool
This method modifies the existing $environment
object it is applied to and returns it again.
Checks if the request is being served by the CLI
$environment->cli(): bool
bool
This method modifies the existing $environment
object it is applied to and returns it again.