ListenerMakeCommand::askWithCompletion()

string askWithCompletion(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

ListenerMakeCommand::ask()

string ask(string $question, string $default = null) Prompt the user for input. Parameters string $question string $default Return Value string

ListenerMakeCommand::arguments()

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

ListenerMakeCommand::argument()

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

ListenerMakeCommand::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

ListenerMakeCommand

ListenerMakeCommand class ListenerMakeCommand extends GeneratorCommand (View source) Methods void __construct(Filesystem $files) Create a new controller creator command instance. from GeneratorCommand 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

Listener::__construct()

void __construct(string $commandPath) Create a new queue listener. Parameters string $commandPath Return Value void

Listener::stop()

void stop() Stop listening and bail out of the script. Return Value void

Listener::setSleep()

void setSleep(int $sleep) Set the amount of seconds to wait before polling the queue. Parameters int $sleep Return Value void

Listener::setOutputHandler()

void setOutputHandler(Closure $outputHandler) Set the output handler callback. Parameters Closure $outputHandler Return Value void