class Illuminate / Foundation / Console / EnvironmentDecryptCommand
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

EnvironmentDecryptCommand

Extends

Properties

protected

$signature string

The name and signature of the console command.

Default: 'env:decrypt {--key= : The encryption key} {--cipher= : The encryption cipher} {--env= : The environment to be decrypted} {--force : Overwrite the existing environment file} {--path= : Path to write the decrypted file} {--filename= : Filename of the decrypted file}'
protected

$description string

The console command description.

Default: 'Decrypt an environment file'
protected

$files Filesystem

The filesystem instance.

Default: null

Methods

public

__construct ( Filesystem $files ) : void

Create a new command instance.

Parameters

public

handle ( ) : void

Execute the console command.

protected

parseKey ( string $key ) : string

Parse the encryption key.

Parameters

  • $key string
protected

outputFilePath ( ) : string

Get the output file path that should be used for the command.