Метод |
Описание |
|
__construct ( ) : void |
Create a new command instance. |
|
describeTable ( $tableName ) |
|
|
doComment ( $text, $overrideDebug = false ) |
will add a comment to the screen if debug is on, or is over-ridden. |
|
getAllTables ( ) |
will return an array of all table names. |
|
getOptions ( ) |
returns all the options that the user specified. |
|
getSchema ( $tableName ) |
|
|
getStub ( ) |
returns the stub to use to generate the class. |
|
handle ( ) : mixed |
Execute the console command. |
|
replaceClassName ( string $stub, string $tableName ) : string |
replaces the class name in the stub. |
|
replaceConnection ( $stub, $database ) |
|
|
replaceModuleInformation ( string $stub, array $modelInformation ) : string |
replaces the module information. |
|