ThinkPHP5


think\console\command\optimize\Route
library\think\console\command\optimize\Route.php at line 17

Class Route

Command
└─Route

public class Route
extends Command


Method Summary
protected void

configure()

配置指令

protected null|int

execute(Input input, Output output)

执行指令

protected void

buildRouteCache()

protected void

buildClosure(mixed value)

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\Route.php at line 22

configure

protected void configure()

配置指令


library\think\console\command\optimize\Route.php at line 28

execute

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

执行指令

Throws:
\LogicException
See Also:
setCode()

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

buildRouteCache

protected void buildRouteCache()

library\think\console\command\optimize\Route.php at line 53

buildClosure

protected void buildClosure(mixed value)

ThinkPHP5