PHP Class Nelmio\Alice\Generator\Resolver\Parameter\ParameterResolverRegistry

Inheritance: implements Nelmio\Alice\Generator\Resolver\ParameterResolverInterface, use trait Nelmio\Alice\IsAServiceTrait
Show file Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
__construct ( array $resolvers )
resolve ( Parameter $parameter, ParameterBag $unresolvedParameters, ParameterBag $injectedParameters, ResolvingContext $context = null ) : ParameterBag

Method Details

__construct() public method

public __construct ( array $resolvers )
$resolvers array

resolve() public method

public resolve ( Parameter $parameter, ParameterBag $unresolvedParameters, ParameterBag $injectedParameters, ResolvingContext $context = null ) : ParameterBag
$parameter Nelmio\Alice\Parameter
$unresolvedParameters Nelmio\Alice\ParameterBag
$injectedParameters Nelmio\Alice\ParameterBag
$context Nelmio\Alice\Generator\Resolver\ResolvingContext
return Nelmio\Alice\ParameterBag