프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$description | string | The console command description. | |
$files | Illuminate\Filesystem\Filesystem | The filesystem instance. | |
$name | string | The console command name. |
메소드 | 설명 | |
---|---|---|
__construct ( Illuminate\Filesystem\Filesystem $files ) : void | Create a new controller creator command instance. | |
fire ( ) : boolean | null | Execute the console command. |
메소드 | 설명 | |
---|---|---|
activatePlugin ( $name ) | ||
buildComposerCode ( $pluginName, $namespace, $title ) : string | buildComposerCode | |
buildPluginCode ( $pluginName, $namespace, $title ) : string | Build the class with the given name. | |
checkEnv ( $path, $name, $namespace, $title ) | ||
findComposer ( ) : string | findComposer | |
getArguments ( ) : array | Get the console command arguments. | |
getNamespace ( ) : string | Get the full namespace name for a given class. | |
getNamespaceInput ( ) : string | Get the desired class namespace from the input. | |
getPluginName ( ) : string | getPluginName | |
getStub ( $filename ) : string | Get the stub file for the generator. | |
getTitleInput ( ) : string | Get the desired class title from the input. | |
makeComposerJson ( $path, $pluginName, $namespace, $title ) : void | makeComposerJson | |
makeDirectory ( $path ) : void | makeDirectory | |
makeDirectoryStructure ( $path ) | ||
makePluginClass ( $path, $name, $namespace, $title ) : void | makePluginClass | |
replaceClass ( string &$stub, string $name ) : static | Replace the class name for the given stub. | |
replaceNamespace ( string &$stub, $namespace ) | replaceNamespace | |
replacePackageName ( string &$stub, $packageName ) | replacePackageName | |
replacePluginName ( string &$stub, string $pluginName ) : static | Replace the class name for the given stub. | |
replacePluginTitle ( string &$stub, $title ) | replacePluginTitle | |
runComposerDump ( $path ) |
public __construct ( Illuminate\Filesystem\Filesystem $files ) : void | ||
$files | Illuminate\Filesystem\Filesystem | |
리턴 | void |
protected buildComposerCode ( $pluginName, $namespace, $title ) : string | ||
$pluginName | ||
$namespace | ||
리턴 | string |
protected buildPluginCode ( $pluginName, $namespace, $title ) : string | ||
리턴 | string |
protected getNamespace ( ) : string | ||
리턴 | string |
protected getNamespaceInput ( ) : string | ||
리턴 | string |
protected getTitleInput ( ) : string | ||
리턴 | string |
protected makeComposerJson ( $path, $pluginName, $namespace, $title ) : void | ||
$path | ||
$pluginName | ||
$namespace | ||
리턴 | void |
protected makePluginClass ( $path, $name, $namespace, $title ) : void | ||
$path | ||
$name | ||
$namespace | ||
리턴 | void |
protected replaceClass ( string &$stub, string $name ) : static | ||
$stub | string | |
$name | string | |
리턴 | static |
protected replaceNamespace ( string &$stub, $namespace ) | ||
$stub | string |
protected replacePackageName ( string &$stub, $packageName ) | ||
$stub | string |
protected replacePluginName ( string &$stub, string $pluginName ) : static | ||
$stub | string | |
$pluginName | string | |
리턴 | static |
protected replacePluginTitle ( string &$stub, $title ) | ||
$stub | string |
protected Filesystem,Illuminate\Filesystem $files | ||
리턴 | Illuminate\Filesystem\Filesystem |