Property | 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. |
Method | 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. |
Method | 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 |
Method | 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 |
public __construct ( ) : void | ||
return | void |
protected createAdminAndLogin ( array $config ) : void | ||
$config | array | |
return | void |
protected installFramework ( ) : void | ||
return | void |
protected stepDirPermission ( ) : void | ||
return | void |
protected string $description | ||
return | string |
protected string $signature | ||
return | string |