class
Illuminate
/
Foundation
/
Console
/
EnvironmentEncryptCommand
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
EnvironmentEncryptCommand
Extends
Properties
protected
$signature string
The name and signature of the console command.
Default: 'env:encrypt
{--key= : The encryption key}
{--cipher= : The encryption cipher}
{--env= : The environment to be encrypted}
{--force : Overwrite the existing encrypted environment file}'
protected
$description string
The console command description.
Default: 'Encrypt an environment file'
Methods
public
__construct ( Filesystem $files ) : void
Create a new command instance.
Parameters
- $files Filesystem
public
handle ( ) : void
Execute the console command.
protected
parseKey ( string $key ) : string
Parse the encryption key.
Parameters
- $key string