PHP 클래스 Illuminate\Foundation\Console\AppNameCommand

상속: extends Illuminate\Console\Command
파일 보기 프로젝트 열기: laravel/framework

보호된 프로퍼티들

프로퍼티 타입 설명
$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