PHP Класс Recca0120\Terminal\Application

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

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

Метод Описание
add ( Command $command ) : Command Add a command to the console.
call ( string $command, array $parameters = [] ) : integer Run an Artisan console command by name.
resolveCommands ( array | mixed $commands ) Resolve an array of commands through the application.
run ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null ) : integer Runs the current application.

Приватные методы

Метод Описание
getBufferedOutput ( ) : Symfony\Component\Console\Output\BufferedOutput getBufferedOutput.
isAjax ( ) : boolean isAjax.
isFromArtisanStartingEvent ( ) : boolean isFromArtisanStartingEvent.

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

add() публичный метод

Add a command to the console.
public add ( Command $command ) : Command
$command Symfony\Component\Console\Command\Command
Результат Symfony\Component\Console\Command\Command

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

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

resolveCommands() публичный метод

Resolve an array of commands through the application.
public resolveCommands ( array | mixed $commands )
$commands array | mixed

run() публичный метод

Runs the current application.
public run ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null ) : integer
$input Symfony\Component\Console\Input\InputInterface An Input instance
$output Symfony\Component\Console\Output\OutputInterface An Output instance
Результат integer 0 if everything went fine, or an error code