Свойство | Тип | Описание | |
---|---|---|---|
$argument | string | Command argument. | |
$argumentDescription | string | Command argument description. | |
$argumentType | integer | Argument type. | |
$commandDescription | string | Command description. | |
$commandName | string | Command name. | |
$config | Illuminate\Config\Repository | Config repository. | |
$configPath | string | Path to config folder. | |
$installDev | boolean | Install development version. | |
$laravel_config_file | string | Laravel config file (config/app.php). | |
$laravel_services_file | string | Laravel services file (config/services.php). | |
$method | string | Method to execute. | |
$output | Symfony\Component\Console\Output\OutputInterface | The output interface. |
Метод | Описание | |
---|---|---|
__construct ( ) | LlumCommand constructor. |
Метод | Описание | |
---|---|---|
configure ( ) | Configure the command options. | |
configureCommand ( |
Configure the command options. | |
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void | Execute the command. | |
getDevOption ( ) | * gets dev option | |
initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | Initialize command. | |
obtainConfig ( ) : Illuminate\Config\Repository | Get config repository. | |
package ( string $name ) : integer | Installs laravel package form config/packages.php file. | |
showPackageNotFoundError ( $name ) | Show package not found error. |
Метод | Описание | |
---|---|---|
executeScriptAfterPackageInstallation ( $after ) | Execute post package installation script. | |
findComposer ( ) : string | Get the composer command for the environment. | |
getPackageFromConfig ( $name ) : array | get package from config. | |
getPackageNameByComposerName ( $composerPackageName ) : string | Get package name by composer package name. | |
obtainPackage ( $name ) : array | integer | Obtain package. | |
requireComposerPackage ( $package ) | Require composer package. |
protected configureCommand ( |
||
$command |
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
Результат | integer | null | void |
protected initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface |
protected obtainConfig ( ) : Illuminate\Config\Repository | ||
Результат | Illuminate\Config\Repository |
protected showPackageNotFoundError ( $name ) | ||
$name |
protected string $argumentDescription | ||
Результат | string |
protected string $commandDescription | ||
Результат | string |
protected Repository,Illuminate\Config $config | ||
Результат | Illuminate\Config\Repository |
protected string $configPath | ||
Результат | string |
protected bool $installDev | ||
Результат | boolean |
protected string $laravel_config_file | ||
Результат | string |
protected string $laravel_services_file | ||
Результат | string |