PHP Interface Nelmio\Alice\Generator\ValueResolverInterface

Afficher le fichier Open project: nelmio/alice Interface Usage Examples

Méthodes publiques

Méthode Description
resolve ( Nelmio\Alice\Definition\ValueInterface $value, Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, array $scope, GenerationContext $context ) : ResolvedValueWithFixtureSet Resolves a value, i.e. determine the final value. Once resolved, the value will be ready to be passed to the object.

Method Details

resolve() public méthode

Resolves a value, i.e. determine the final value. Once resolved, the value will be ready to be passed to the object.
public resolve ( Nelmio\Alice\Definition\ValueInterface $value, Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, array $scope, GenerationContext $context ) : ResolvedValueWithFixtureSet
$value Nelmio\Alice\Definition\ValueInterface
$fixture Nelmio\Alice\FixtureInterface Fixture to which belongs the arguments.
$fixtureSet ResolvedFixtureSet
$scope array List of variables accessible while resolving the arguments.
$context GenerationContext
Résultat ResolvedValueWithFixtureSet