On this page
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Routing/RouteAction.html