KeyGenerateCommand

 class Winter\Storm\Foundation\Console\KeyGenerateCommand
extends 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 Description
$warning
string
$callback
Closure | bool | null
Returns
bool

protected writeNewEnvironmentFileWith (string $key) : bool

Write a new environment file with the given key.

Parameters
Property Description
$key
string
Returns
bool
Copyright © 2024 Winter CMS