RouteAction
class RouteAction
Methods
static array
parse(string $uri, mixed $action)
Parse the given action into an array.
static array
normalizeCallable(array $action, mixed $callable)
Normalize a callable route action.
static array
missingAction(string $uri)
Get an action for a route that has no action.
static callable|null
findCallable(array $action)
Find the callable in an action array.
static string
makeInvokable(string $action)
Make an action for an invokable controller.
static bool
containsSerializedClosure(array $action)
Determine if the given array actions contain a serialized Closure.
Details
at line 19
static array
parse(string $uri, mixed $action)
Parse the given action into an array.
at line 58
static protected array
normalizeCallable(array $action, mixed $callable)
Normalize a callable route action.
at line 84
static protected array
missingAction(string $uri)
Get an action for a route that has no action.
at line 94
static protected callable|null
findCallable(array $action)
Find the callable in an action array.
at line 106
static protected string
makeInvokable(string $action)
Make an action for an invokable controller.
at line 118
static bool
containsSerializedClosure(array $action)
Determine if the given array actions contain a serialized Closure.