class Illuminate / Foundation / Console / EnvironmentEncryptCommand

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'
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