void prepareForSerialization() Prepare the route instance for serialization. Return Value void Exceptions LogicException
$this prefix(string $prefix) Add a prefix to the route URI. Parameters string $prefix Return Value $this
array parametersWithoutNulls() Get the key / value list of parameters without null values. Return Value array
array parameters() Get the key / value list of parameters for the route. Return Value array Exceptions LogicException
array parameterNames() Get all of the parameter names for the route. Return Value array
string|object parameter(string $name, mixed $default = null) Get a given parameter from the route. Parameters string $name mixed $default Return Value string|object
$this name(string $name) Add or change the route name. Parameters string $name Return Value $this
$this|array middleware(array|string|null $middleware = null) Get or set the middlewares attached to the route. Parameters array|string|null $middleware Return Value $this|array
array methods() Get the HTTP verbs the route responds to. Return Value array
bool matches(Request $request, bool $includingMethod = true) Determine if the route matches given request. Parameters Request $request bool $includingMethod Return Value bool
Page 224 of 996