ThinkPHP5


think\console\command\Clear
library\think\console\command\Clear.php at line 18

Class Clear

Command
└─Clear

public class Clear
extends Command


Method Summary
protected void

configure()

配置指令

protected null|int

execute(Input input, Output output)

执行指令

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\Clear.php at line 20

configure

protected void configure()

配置指令


library\think\console\command\Clear.php at line 29

execute

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

执行指令

Throws:
\LogicException
See Also:
setCode()

ThinkPHP5