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
Afficher le fichier Open project: nelmio/alice Class Usage Examples

Méthodes publiques

Méthode 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

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

Method Details

__construct() public méthode

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

canResolve() public méthode

public canResolve ( Parameter $parameter ) : boolean
$parameter Nelmio\Alice\Parameter
Résultat boolean

resolve() public méthode

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
Résultat Nelmio\Alice\ParameterBag

withResolver() public méthode

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