Property | Type | Description | |
---|---|---|---|
$composer | Illuminate\Support\Composer | The Composer class instance. | |
$currentRoot | string | Current root application namespace. | |
$description | string | The console command description. | |
$files | Illuminate\Filesystem\Filesystem | The filesystem instance. | |
$name | string | The console command name. |
Method | Description | |
---|---|---|
__construct ( Illuminate\Support\Composer $composer, Illuminate\Filesystem\Filesystem $files ) : void | Create a new key generator command. | |
fire ( ) : void | Execute the console command. |
Method | Description | |
---|---|---|
getArguments ( ) : array | Get the console command arguments. | |
getBootstrapPath ( ) : string | Get the path to the bootstrap/app.php file. | |
getComposerPath ( ) : string | Get the path to the Composer.json file. | |
getConfigPath ( string $name ) : string | Get the path to the given configuration file. | |
replaceIn ( string $path, string | array $search, string | array $replace ) : void | Replace the given string in the given file. | |
replaceNamespace ( string $path ) : void | Replace the App namespace at the given path. | |
setAppConfigNamespaces ( ) : void | Set the application provider namespaces. | |
setAppDirectoryNamespace ( ) : void | Set the namespace on the files in the app directory. | |
setAuthConfigNamespace ( ) : void | Set the authentication User namespace. | |
setBootstrapNamespaces ( ) : void | Set the bootstrap namespaces. | |
setComposerNamespace ( ) : void | Set the PSR-4 namespace in the Composer file. | |
setConfigNamespaces ( ) : void | Set the namespace in the appropriate configuration files. | |
setDatabaseFactoryNamespaces ( ) : void | Set the namespace in database factory files. | |
setServicesConfigNamespace ( ) : void | Set the services User namespace. |
public __construct ( Illuminate\Support\Composer $composer, Illuminate\Filesystem\Filesystem $files ) : void | ||
$composer | Illuminate\Support\Composer | |
$files | Illuminate\Filesystem\Filesystem | |
return | void |
protected getArguments ( ) : array | ||
return | array |
protected getBootstrapPath ( ) : string | ||
return | string |
protected getComposerPath ( ) : string | ||
return | string |
protected getConfigPath ( string $name ) : string | ||
$name | string | |
return | string |
protected replaceNamespace ( string $path ) : void | ||
$path | string | |
return | void |
protected setAppConfigNamespaces ( ) : void | ||
return | void |
protected setAppDirectoryNamespace ( ) : void | ||
return | void |
protected setAuthConfigNamespace ( ) : void | ||
return | void |
protected setBootstrapNamespaces ( ) : void | ||
return | void |
protected setComposerNamespace ( ) : void | ||
return | void |
protected setConfigNamespaces ( ) : void | ||
return | void |
protected setDatabaseFactoryNamespaces ( ) : void | ||
return | void |
protected setServicesConfigNamespace ( ) : void | ||
return | void |
protected Composer,Illuminate\Support $composer | ||
return | Illuminate\Support\Composer |
protected string $currentRoot | ||
return | string |
protected string $description | ||
return | string |
protected Filesystem,Illuminate\Filesystem $files | ||
return | Illuminate\Filesystem\Filesystem |