PHP Класс Recca0120\Terminal\Kernel

Наследование: implements Illuminate\Contracts\Console\Kernel
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$artisan Illuminate\Console\Application The Artisan application instance.
$commands array The Artisan commands provided by the application.

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

Метод Описание
__construct ( Application $artisan ) Create a new console kernel instance.
all ( ) : array Get all of the commands registered with the console.
call ( string $command, array $parameters = [] ) : integer Run an Artisan console command by name.
handle ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output = null ) : integer Handle an incoming console command.
output ( ) : string Get the output for the last run command.
queue ( string $command, array $parameters = [] ) : integer Queue an Artisan console command by name.

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

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

Create a new console kernel instance.
public __construct ( Application $artisan )
$artisan Application

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

Get all of the commands registered with the console.
public all ( ) : array
Результат array

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

Run an Artisan console command by name.
public call ( string $command, array $parameters = [] ) : integer
$command string
$parameters array
Результат integer

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

Handle an incoming console command.
public handle ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output = null ) : integer
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
Результат integer

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

Get the output for the last run command.
public output ( ) : string
Результат string

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

Queue an Artisan console command by name.
public queue ( string $command, array $parameters = [] ) : integer
$command string
$parameters array
Результат integer

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

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

The Artisan application instance.
protected Application,Illuminate\Console $artisan
Результат Illuminate\Console\Application

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

The Artisan commands provided by the application.
protected array $commands
Результат array