CommandMakeCommand::choice()

string choice(string $question, array $choices, string $default = null, mixed $attempts = null, bool $multiple = null) Give the user a single choice from an array of answers. Parameters string $question array $choices string $default mixed $attempts bool $multiple Return Value string

CommandMakeCommand::callSilent()

int callSilent(string $command, array $arguments = array()) Call another console command silently. Parameters string $command array $arguments Return Value int

CommandMakeCommand::call()

int call(string $command, array $arguments = array()) Call another console command. Parameters string $command array $arguments Return Value int

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

CommandMakeCommand::ask()

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

CommandMakeCommand::argument()

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

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

CommandMakeCommand

CommandMakeCommand class CommandMakeCommand 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 si

CommandCreatorServiceProvider::__construct()

void __construct(Application $app) Create a new service provider instance. Parameters Application $app Return Value void

CommandCreatorServiceProvider::when()

array when() Get the events that trigger this service provider to register. Return Value array