void pattern(string $key, string $pattern) Set a global where pattern on
array getAction() Get the action array for the route.
void setParameter(string $name, mixed $value) Set a parameter to the given
Illuminate\Routing Namespaces Illuminate\
mixed random(int $amount = 1) Get one or more items randomly from the collection
Collection values()
MakeControllerCommand class MakeControllerCommand extends
static array getParameters() Get the global parameter map.
StreamedResponse stream(Closure $callback, int $status = 200, array $headers = array())
array get(string|null $method = null) Get all of the routes in the collection
Page 1 of 43