DownCommand::arguments()

array arguments() Get all of the arguments passed to the command. Return Value array

DownCommand::argument()

string|array argument(string $key = null) Get the value of a command argument. Parameters string $key Return Value string|array

DownCommand::anticipate()

string anticipate(string $question, array $choices, string $default = null) Prompt the user for input with auto completion. Parameters string $question array $choices string $default Return Value string

DownCommand

DownCommand class DownCommand extends Command (View source) Methods void __construct() Create a new console command instance. from Command int run(InputInterface $input, OutputInterface $output) Run the console command. from Command int call(string $command, array $arguments = array()) Call another console command. from Command int callSilent(string $command, array $arguments = array()) Call another console command silently. from Command bool hasArgument(string|int $name)

DispatchesJobs::dispatchNow()

mixed dispatchNow(mixed $job) Dispatch a command to its appropriate handler in the current process. Parameters mixed $job Return Value mixed

DispatchesJobs

DispatchesJobs trait DispatchesJobs (View source) Methods mixed dispatchNow(mixed $job) Dispatch a command to its appropriate handler in the current process.

DispatchesCommands deprecated

DispatchesCommands deprecated trait DispatchesCommands (View source) deprecated since version 5.1. Use the DispatchesJobs trait directly. Traits DispatchesJobs

Dispatcher::__construct()

void __construct(Container $container = null) Create a new event dispatcher instance. Parameters Container $container Return Value void

Dispatcher::__construct()

void __construct(Container $container, Closure $queueResolver = null) Create a new command dispatcher instance. Parameters Container $container Closure $queueResolver Return Value void

Dispatcher::until()

mixed until(string $event, array $payload = array()) Fire an event until the first non-null response is returned. Parameters string $event array $payload Return Value mixed