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

RouteCacheCommand

RouteCacheCommand class RouteCacheCommand extends Command (View source) Methods void __construct(Filesystem $files) 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(str

Route::__get()

mixed __get(string $key) Dynamically access route parameters. Parameters string $key Return Value mixed

Route::__construct()

void __construct(array|string $methods, string $uri, Closure|array $action) Create a new Route instance. Parameters array|string $methods string $uri Closure|array $action Return Value void

Route::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed

Route::where()

$this where(array|string $name, string $expression = null) Set a regular expression requirement on the route. Parameters array|string $name string $expression Return Value $this

Route::uses()

$this uses(Closure|string $action) Set the handler for the route. Parameters Closure|string $action Return Value $this

Route::uri()

string uri() Get the URI associated with the route. Return Value string

Route::swap()

static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void

Route::signatureParameters()

array signatureParameters(string|null $subClass = null) Get the parameters that are listed in the route / controller signature. Parameters string|null $subClass Return Value array