PHP Interface Nelmio\Alice\Generator\ValueResolverInterface

Show file Open project: nelmio/alice Interface Usage Examples

Public Methods

Method 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 method

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
return ResolvedValueWithFixtureSet