RoutesCommand::confirm()

bool confirm(string $question, bool $default = false) Confirm a question with the user. Parameters string $question bool $default Return Value bool

RoutesCommand::choice()

bool 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 bool

RoutesCommand::callSilent()

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

RoutesCommand::error()

void error(string $string) Write a string as error output. Parameters string $string Return Value void

RoutesCommand

RoutesCommand class RoutesCommand extends Command (View source) Methods void __construct(Router $router) Create a new route command instance. 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 string|array argument(string $k

RoutesCommand::argument()

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

RoutesCommand::ask()

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

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

Router::__construct()

void __construct(Dispatcher $events, Container $container = null) Create a new Router instance. Parameters Dispatcher $events Container $container Return Value void

Router::__call()

mixed __call(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException