Свойство | Тип | Описание | |
---|---|---|---|
$config | array | The Pagekit config. | |
$container | Pagekit\Container | The Container instance. | |
$description | string | The console command description. | |
$input | Symfony\Component\Console\Input\InputInterface | The console command input. | |
$name | string | The console command name. | |
$output | Symfony\Component\Console\Output\OutputInterface | The console command output. |
Метод | Описание | |
---|---|---|
__construct ( ) | Create a new console command instance. | |
abort ( string $string ) | Aborts command execution. | |
argument ( string $key = null ) : string | array | Get the value of a command argument. | |
ask ( string $question, string $default = null ) : string | Prompt the user for input. | |
comment ( string $string ) | Write a string as comment output. | |
confirm ( string $question, boolean $default = true ) : boolean | Confirm a question with the user. | |
error ( string $string ) | Write a string as error output. | |
info ( string $string ) | Write a string as information output. | |
line ( string $string ) | Write a string as standard output. | |
option ( string $key = null ) : string | array | Get the value of a command option. | |
question ( string $string ) | Write a string as question output. | |
secret ( string $question, boolean $fallback = true ) : string | Prompt the user for input but hide the answer from the console. | |
setConfig ( array $config ) | Set the Pagekit config. | |
setContainer ( Pagekit\Container $container ) | Set the Pagekit application instance. |
Метод | Описание | |
---|---|---|
initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) |
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 |
public setContainer ( Pagekit\Container $container ) | ||
$container | Pagekit\Container |
protected Container,Pagekit $container | ||
Результат | Pagekit\Container |
protected string $description | ||
Результат | string |
protected InputInterface,Symfony\Component\Console\Input $input | ||
Результат | Symfony\Component\Console\Input\InputInterface |