class RouteParameter implements ContextualAttribute (View source)

Methods

__construct(string $parameter)

Create a new class instance.

static mixed
resolve(RouteParameter $attribute, Container $container)

Resolve the route parameter.

Details

__construct(string $parameter)

Create a new class instance.

Parameters

string $parameter

static mixed resolve(RouteParameter $attribute, Container $container)

Resolve the route parameter.

Parameters

RouteParameter $attribute
Container $container

Return Value

mixed