RouteAction
class RouteAction (View source)
Methods
static array
parse(string $uri, mixed $action)
Parse the given action into an array.
static array
missingAction(string $uri)
Get an action for a route that has no action.
static callable
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
static array
parse(string $uri, mixed $action)
Parse the given action into an array.
static protected array
missingAction(string $uri)
Get an action for a route that has no action.
static protected callable
findCallable(array $action)
Find the callable in an action array.
static protected 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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.