PHP Class Artisan, someline-starter

Inheritance: extends Illuminate\Support\Facades\Artisan
ファイルを表示 Open project: someline/someline-starter Class Usage Examples

Public Methods

Method Description
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.

Method Details

all() public static method

Get all of the commands registered with the console.
public static all ( ) : array
return array

bootstrap() public static method

Bootstrap the application for artisan commands.
public static bootstrap ( ) : void
return void

call() public static method

Run an Artisan console command by name.
public static call ( string $command, array $parameters = [] ) : integer
$command string
$parameters array
return integer

handle() public static method

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
return integer

output() public static method

Get the output for the last run command.
public static output ( ) : string
return string

queue() public static method

Queue the given console command.
public static queue ( string $command, array $parameters = [] ) : void
$command string
$parameters array
return void

registerCommand() public static method

Register the given command with the console application.
public static registerCommand ( Command $command ) : void
$command Symfony\Component\Console\Command\Command
return void

terminate() public static method

Terminate the application.
public static terminate ( Symfony\Component\Console\Input\InputInterface $input, integer $status ) : void
$input Symfony\Component\Console\Input\InputInterface
$status integer
return void