PHP Class App\Console\Commands\XeInstall

Inheritance: extends Illuminate\Console\Command
Afficher le fichier Open project: xpressengine/xpressengine

Protected Properties

Свойство Type Description
$appKey
$basePlugins array
$defaultInfos array
$description string The console command description.
$executed boolean
$migrations
$signature string The name and signature of the console command.

Méthodes publiques

Méthode Description
__construct ( ) : void Create a new command instance.
askValidation ( string $question, string $default = null, callable $validator = null ) : string Prompt the user for input and validation the answer.
handle ( ) : mixed Execute the console command
secretDefault ( string $question, boolean $fallback = true, string $default = null ) : string Prompt the user for input but hide the answer from the console.

Méthodes protégées

Méthode Description
createAdminAndLogin ( array $config ) : void createAdminAndLogin
installFramework ( ) : void installFramework
process ( ) : void process
stepAdmin ( ) : void stepAdmin
stepAgreeCollectEnv ( )
stepDB ( ) : void stepDB
stepDirPermission ( ) : void stepDirPermission
stepRequirement ( )
stepSiteInfo ( ) : void stepSiteInfo

Private Methods

Méthode Description
bootFramework ( boolean $withXE = false ) : mixed bootFramework
configFileGenerate ( string $key, array $data ) : void configFileGenerate
disableDebugMode ( ) : void disableDebugMode
encodeArr2Str ( array $arr, integer $depth ) : string encodeArr2Str
getAdminInfo ( ) : void getAdminInfo
getAdminPassword ( array $adminInfo ) : string getAdminPassword
getBasePath ( null $path = null ) : string basePath
getDBInfo ( ) : void getDBInfo
getIndent ( integer $depth ) : string getIndent
getKey ( )
getRandomKey ( string $cipher ) : string Generate a random key for the application.
getSiteInfo ( ) : void getSiteInfo
initializeCore ( ) : void initializeCore
installBasePlugins ( ) : void installBasePlugins
makeDir ( string $dir ) : boolean makeDir
markInstalled ( ) : void markInstalled
migrateCore ( ) : void migrateCore
setBootCacheDirPermission ( ) : void setBootCacheDirPermission
setDBInfo ( array $dbInfo ) : void setDBInfo
setSiteInfo ( $siteInfo, $debug = true ) : void setSiteInfo
setStorageDirPermission ( ) : void setStorageDirPermission
validateDBInfo ( array $dbInfo ) : boolean validateDBInfo

Method Details

__construct() public méthode

Create a new command instance.
public __construct ( ) : void
Résultat void

askValidation() public méthode

Prompt the user for input and validation the answer.
public askValidation ( string $question, string $default = null, callable $validator = null ) : string
$question string
$default string
$validator callable
Résultat string

createAdminAndLogin() protected méthode

createAdminAndLogin
protected createAdminAndLogin ( array $config ) : void
$config array
Résultat void

handle() public méthode

Execute the console command
public handle ( ) : mixed
Résultat mixed

installFramework() protected méthode

installFramework
protected installFramework ( ) : void
Résultat void

process() protected méthode

process
protected process ( ) : void
Résultat void

secretDefault() public méthode

Prompt the user for input but hide the answer from the console.
public secretDefault ( string $question, boolean $fallback = true, string $default = null ) : string
$question string
$fallback boolean
$default string
Résultat string

stepAdmin() protected méthode

stepAdmin
protected stepAdmin ( ) : void
Résultat void

stepAgreeCollectEnv() protected méthode

protected stepAgreeCollectEnv ( )

stepDB() protected méthode

stepDB
protected stepDB ( ) : void
Résultat void

stepDirPermission() protected méthode

stepDirPermission
protected stepDirPermission ( ) : void
Résultat void

stepRequirement() protected méthode

protected stepRequirement ( )

stepSiteInfo() protected méthode

stepSiteInfo
protected stepSiteInfo ( ) : void
Résultat void

Property Details

$appKey protected_oe property

protected $appKey

$basePlugins protected_oe property

protected array $basePlugins
Résultat array

$defaultInfos protected_oe property

protected array $defaultInfos
Résultat array

$description protected_oe property

The console command description.
protected string $description
Résultat string

$executed protected_oe property

protected bool $executed
Résultat boolean

$migrations protected_oe property

protected $migrations

$signature protected_oe property

The name and signature of the console command.
protected string $signature
Résultat string