class RouteSignatureParameters

Properties

static protected ReflectionParameter>> $cache

Cached reflection parameters keyed by action string.

static protected null|ReflectionParameter>> $objectCache

Cached reflection parameters keyed by callable object.

Methods

static array
fromAction(array $action, array $conditions = [])

Extract the route action's signature parameters.

static void
flushCache()

Flush the static parameter cache.

static array
fromClassMethodString(string $uses)

Get the parameters for the given class / method by string.

Details

at line 42
static array fromAction(array $action, array $conditions = [])

Extract the route action's signature parameters.

Parameters

array $action
array $conditions

Return Value

array

at line 75
static void flushCache()

Flush the static parameter cache.

Boot or tests only. Clears the process-wide signature caches shared by every coroutine; next signature lookup re-reflects.

Return Value

void

at line 88
static protected array fromClassMethodString(string $uses)

Get the parameters for the given class / method by string.

Parameters

string $uses

Return Value

array

Exceptions

ReflectionException