PHP Класс Artisan, someline-starter

Наследование: extends Illuminate\Support\Facades\Artisan
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
all ( ) : array Get all of the commands registered with the console.
bootstrap ( ) : void Bootstrap the application for artisan commands.
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 Run the console application.
output ( ) : string Get the output for the last run command.
queue ( string $command, array $parameters = [] ) : void Queue the given console command.
registerCommand ( Command $command ) : void Register the given command with the console application.
terminate ( Symfony\Component\Console\Input\InputInterface $input, integer $status ) : void Terminate the application.

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

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

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

bootstrap() публичный статический Метод

Bootstrap the application for artisan commands.
public static bootstrap ( ) : void
Результат void

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

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

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

Run the console application.
public static 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 static output ( ) : string
Результат string

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

Queue the given console command.
public static queue ( string $command, array $parameters = [] ) : void
$command string
$parameters array
Результат void

registerCommand() публичный статический Метод

Register the given command with the console application.
public static registerCommand ( Command $command ) : void
$command Symfony\Component\Console\Command\Command
Результат void

terminate() публичный статический Метод

Terminate the application.
public static terminate ( Symfony\Component\Console\Input\InputInterface $input, integer $status ) : void
$input Symfony\Component\Console\Input\InputInterface
$status integer
Результат void