PHP Class Nelmio\Alice\Generator\Resolver\Parameter\Chainable\StringParameterResolver

Inheritance: implements Nelmio\Alice\Generator\Resolver\ChainableParameterResolverInterface, implements Nelmio\Alice\Generator\Resolver\ParameterResolverAwareInterface, use trait Nelmio\Alice\IsAServiceTrait
Mostrar archivo Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
__construct ( Nelmio\Alice\Generator\Resolver\ParameterResolverInterface $resolver = null )
canResolve ( Parameter $parameter ) : boolean
resolve ( Parameter $parameter, ParameterBag $unresolvedParameters, ParameterBag $resolvedParameters, ResolvingContext $context = null ) : ParameterBag
withResolver ( Nelmio\Alice\Generator\Resolver\ParameterResolverInterface $resolver )

Private Methods

Method Description
resolveStringKey ( Nelmio\Alice\Generator\Resolver\ParameterResolverInterface $resolver = null, Parameter $parameter, string $key, ParameterBag $unresolvedParameters, ParameterBag $resolvedParameters, ResolvingContext $context ) : ParameterBag

Method Details

__construct() public method

public __construct ( Nelmio\Alice\Generator\Resolver\ParameterResolverInterface $resolver = null )
$resolver Nelmio\Alice\Generator\Resolver\ParameterResolverInterface

canResolve() public method

public canResolve ( Parameter $parameter ) : boolean
$parameter Nelmio\Alice\Parameter
return boolean

resolve() public method

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

withResolver() public method

public withResolver ( Nelmio\Alice\Generator\Resolver\ParameterResolverInterface $resolver )
$resolver Nelmio\Alice\Generator\Resolver\ParameterResolverInterface