ThinkPHP5


think\console\command\optimize\Autoload
library\think\console\command\optimize\Autoload.php at line 18

Class Autoload

Command
└─Autoload

public class Autoload
extends Command


Method Summary
protected void

configure()

配置指令

protected null|int

execute(Input input, Output output)

执行指令

protected void

addClassMapCode(mixed dir, mixed namespace, mixed classMap)

protected void

getPathCode(mixed path)

protected void

normalizePath(mixed path)

protected void

createMap(mixed path, mixed namespace)

protected void

findClasses(mixed path)

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\Autoload.php at line 21

configure

protected void configure()

配置指令


library\think\console\command\optimize\Autoload.php at line 27

execute

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

执行指令

Throws:
\LogicException
See Also:
setCode()

library\think\console\command\optimize\Autoload.php at line 75

addClassMapCode

protected void addClassMapCode(mixed dir, mixed namespace, mixed classMap)

library\think\console\command\optimize\Autoload.php at line 95

getPathCode

protected void getPathCode(mixed path)

library\think\console\command\optimize\Autoload.php at line 122

normalizePath

protected void normalizePath(mixed path)

library\think\console\command\optimize\Autoload.php at line 153

createMap

protected void createMap(mixed path, mixed namespace)

library\think\console\command\optimize\Autoload.php at line 209

findClasses

protected void findClasses(mixed path)


ThinkPHP5