ThinkPHP5


think\console\command\Make
library\think\console\command\Make.php at line 20

Class Make

Command
└─Make
All Known Subclasses:
think\console\command\make\Controller think\console\command\make\Model

public abstract class Make
extends Command


Method Summary
protected abstract void

getStub()

protected void

configure()

配置指令

protected null|int

execute(Input input, Output output)

执行指令

protected void

buildClass(mixed name)

protected void

getPathName(mixed name)

protected void

getClassName(mixed name)

protected void

getNamespace(mixed appNamespace, mixed module)

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\Make.php at line 25

getStub

protected abstract void getStub()

library\think\console\command\Make.php at line 27

configure

protected void configure()

配置指令


library\think\console\command\Make.php at line 32

execute

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

执行指令

Throws:
\LogicException
See Also:
setCode()

library\think\console\command\Make.php at line 56

buildClass

protected void buildClass(mixed name)

library\think\console\command\Make.php at line 72

getPathName

protected void getPathName(mixed name)

library\think\console\command\Make.php at line 79

getClassName

protected void getClassName(mixed name)

library\think\console\command\Make.php at line 104

getNamespace

protected void getNamespace(mixed appNamespace, mixed module)

ThinkPHP5