PHP Interface Nelmio\Alice\Generator\Resolver\ParameterResolverInterface

Mostra file Open project: nelmio/alice Interface Usage Examples

Public Methods

Method Description
resolve ( Parameter $parameter, ParameterBag $unresolvedParameters, ParameterBag $resolvedParameters ) : ParameterBag Resolves a parameter value.

Method Details

resolve() public method

Resolves a parameter value.
public resolve ( Parameter $parameter, ParameterBag $unresolvedParameters, ParameterBag $resolvedParameters ) : ParameterBag
$parameter Nelmio\Alice\Parameter Unresolved parameter
$unresolvedParameters Nelmio\Alice\ParameterBag
$resolvedParameters Nelmio\Alice\ParameterBag
return Nelmio\Alice\ParameterBag Contains all the resolved parameters (as parameter are dynamics, resolving 1 parameter may result in resolving several other parameters).