class RouteAction

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.

Details

at line 19
static array parse(string $uri, mixed $action)

Parse the given action into an array.

Parameters

string $uri
mixed $action

Return Value

array

at line 55
static protected array missingAction(string $uri)

Get an action for a route that has no action.

Parameters

string $uri

Return Value

array

at line 68
static protected callable findCallable(array $action)

Find the callable in an action array.

Parameters

array $action

Return Value

callable

at line 81
static protected string makeInvokable(string $action)

Make an action for an invokable controller.

Parameters

string $action

Return Value

string