ThinkPHP5


think\console\command\optimize\Schema
library\think\console\command\optimize\Schema.php at line 20

Class Schema

Command
└─Schema

public class Schema
extends Command


Method Summary
protected void

configure()

配置指令

protected null|int

execute(Input input, Output output)

执行指令

protected void

buildModelSchema(mixed class)

protected void

buildDataBaseSchema(mixed tables, mixed db)

Methods inherited from think\console\Command
__construct, addArgument, addOption, addUsage, configure, execute, getAliases, getConsole, getDefinition, getDescription, getHelp, getName, getNativeDefinition, getProcessedHelp, getSynopsis, getUsages, ignoreValidationErrors, initialize, interact, isEnabled, mergeConsoleDefinition, run, setAliases, setCode, setConsole, setDefinition, setDescription, setHelp, setName

Method Detail

library\think\console\command\optimize\Schema.php at line 25

configure

protected void configure()

配置指令


library\think\console\command\optimize\Schema.php at line 34

execute

protected null|int execute(Input input, Output output)

执行指令

Throws:
\LogicException
See Also:
setCode()

library\think\console\command\optimize\Schema.php at line 84

buildModelSchema

protected void buildModelSchema(mixed class)

library\think\console\command\optimize\Schema.php at line 97

buildDataBaseSchema

protected void buildDataBaseSchema(mixed tables, mixed db)

ThinkPHP5