final class inertia_resolver implements method_argument_resolver_interface

internal  
 

Inertia Resolver.

Supports injection of Inertia services/factories, if registered in the container.

Methods

__construct(ContainerInterface $container, array|null $supported = null)

Constructor.

bool
supports(ReflectionParameter $parameter)

Checks whether the parameter expects a supported Inertia class.

mixed
resolve(ReflectionParameter $parameter, array $route_params)

Resolves the Inertia dependency from the container.

Details

at line 46
__construct(ContainerInterface $container, array|null $supported = null)

Constructor.

Parameters

ContainerInterface $container
array|null $supported

at line 63
bool supports(ReflectionParameter $parameter)

Checks whether the parameter expects a supported Inertia class.

Parameters

ReflectionParameter $parameter

Return Value

bool

at line 81
mixed resolve(ReflectionParameter $parameter, array $route_params)

Resolves the Inertia dependency from the container.

Parameters

ReflectionParameter $parameter
array $route_params

Return Value

mixed