\app\common\commandInstall

安装命令 Class Install

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
configure()
execute()
runsql()
explodesql()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

configure()

configure() 

execute()

execute(\think\console\Input  $input, \think\console\Output  $output) : void

执行安装

Parameters

\think\console\Input $input
\think\console\Output $output

runsql()

runsql(  $file,   $prefix) 

Parameters

$file
$prefix

explodesql()

explodesql(  $sql_path,   $old_prefix = "",   $new_prefix = "",   $separator = ";\n") 

Parameters

$sql_path
$old_prefix
$new_prefix
$separator