RouteListCommand::ask()

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

RouteListCommand::arguments()

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

RouteListCommand::argument()

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

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

RouteListCommand

RouteListCommand class RouteListCommand 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 bool hasArgument(string|i

RouteFiltererInterface::filter()

void filter(string $name, mixed $callback) Register a new filter with the router. Parameters string $name mixed $callback Return Value void

RouteFiltererInterface::callRouteFilter()

mixed callRouteFilter(string $filter, array $parameters, Route $route, Request $request, Response|null $response = null) Call the given route filter. Parameters string $filter array $parameters Route $route Request $request Response|null $response Return Value mixed

RouteFiltererInterface

RouteFiltererInterface interface RouteFiltererInterface (View source) Methods void filter(string $name, mixed $callback) Register a new filter with the router. mixed callRouteFilter(string $filter, array $parameters, Route $route, Request $request, Response|null $response = null) Call the given route filter.

RouteDependencyResolverTrait::resolveMethodDependencies()

array resolveMethodDependencies(array $parameters, ReflectionFunctionAbstract $reflector) Resolve the given method's type-hinted dependencies. Parameters array $parameters ReflectionFunctionAbstract $reflector Return Value array

RouteDependencyResolverTrait

RouteDependencyResolverTrait trait RouteDependencyResolverTrait (View source) Methods array resolveMethodDependencies(array $parameters, ReflectionFunctionAbstract $reflector) Resolve the given method's type-hinted dependencies.