PHP Класс Illuminate\Foundation\Console\AppNameCommand

Наследование: extends Illuminate\Console\Command
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
__construct ( Illuminate\Support\Composer $composer, Illuminate\Filesystem\Filesystem $files ) : void Create a new key generator command.
fire ( ) : void Execute the console command.

Защищенные методы

Метод Описание
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.

Описание методов

__construct() публичный Метод

Create a new key generator command.
public __construct ( Illuminate\Support\Composer $composer, Illuminate\Filesystem\Filesystem $files ) : void
$composer Illuminate\Support\Composer
$files Illuminate\Filesystem\Filesystem
Результат void

fire() публичный Метод

Execute the console command.
public fire ( ) : void
Результат void

getArguments() защищенный Метод

Get the console command arguments.
protected getArguments ( ) : array
Результат array

getBootstrapPath() защищенный Метод

Get the path to the bootstrap/app.php file.
protected getBootstrapPath ( ) : string
Результат string

getComposerPath() защищенный Метод

Get the path to the Composer.json file.
protected getComposerPath ( ) : string
Результат string

getConfigPath() защищенный Метод

Get the path to the given configuration file.
protected getConfigPath ( string $name ) : string
$name string
Результат string

replaceIn() защищенный Метод

Replace the given string in the given file.
protected replaceIn ( string $path, string | array $search, string | array $replace ) : void
$path string
$search string | array
$replace string | array
Результат void

replaceNamespace() защищенный Метод

Replace the App namespace at the given path.
protected replaceNamespace ( string $path ) : void
$path string
Результат void

setAppConfigNamespaces() защищенный Метод

Set the application provider namespaces.
protected setAppConfigNamespaces ( ) : void
Результат void

setAppDirectoryNamespace() защищенный Метод

Set the namespace on the files in the app directory.
protected setAppDirectoryNamespace ( ) : void
Результат void

setAuthConfigNamespace() защищенный Метод

Set the authentication User namespace.
protected setAuthConfigNamespace ( ) : void
Результат void

setBootstrapNamespaces() защищенный Метод

Set the bootstrap namespaces.
protected setBootstrapNamespaces ( ) : void
Результат void

setComposerNamespace() защищенный Метод

Set the PSR-4 namespace in the Composer file.
protected setComposerNamespace ( ) : void
Результат void

setConfigNamespaces() защищенный Метод

Set the namespace in the appropriate configuration files.
protected setConfigNamespaces ( ) : void
Результат void

setDatabaseFactoryNamespaces() защищенный Метод

Set the namespace in database factory files.
protected setDatabaseFactoryNamespaces ( ) : void
Результат void

setServicesConfigNamespace() защищенный Метод

Set the services User namespace.
protected setServicesConfigNamespace ( ) : void
Результат void

Описание свойств

$composer защищенное свойство

The Composer class instance.
protected Composer,Illuminate\Support $composer
Результат Illuminate\Support\Composer

$currentRoot защищенное свойство

Current root application namespace.
protected string $currentRoot
Результат string

$description защищенное свойство

The console command description.
protected string $description
Результат string

$files защищенное свойство

The filesystem instance.
protected Filesystem,Illuminate\Filesystem $files
Результат Illuminate\Filesystem\Filesystem

$name защищенное свойство

The console command name.
protected string $name
Результат string