KeyGenerateCommand
class Winter\Storm\Foundation\Console\KeyGenerateCommand
extends Illuminate\Foundation\Console\KeyGenerateCommand
Extends
| Class | Description |
|---|---|
Illuminate\Foundation\Console\KeyGenerateCommand
|
Methods
public
confirmToProceed (string $warning = "Application In Production!", Closure | bool | null $callback = null)
: bool
Confirm before proceeding with the action.
This method only asks for confirmation in production.
Parameters
| Property | Type | Description |
|---|---|---|
| $warning | string |
string
|
| $callback | Closure | bool | null |
Closure | bool | null
|
Returns
bool
protected writeNewEnvironmentFileWith (string $key) : bool
Write a new environment file with the given key.
Parameters
| Property | Type | Description |
|---|---|---|
| $key | string |
string
|
Returns
bool
← Previous page
Winter\Storm\Foundation\Console\Kernel
Next page →
Winter\Storm\Foundation\Exception\Handler
Copyright © 2025 Winter CMS