PHP Interface Nelmio\Alice\Generator\ArgumentsResolverInterface

Show file Open project: nelmio/alice

Public Methods

Method Description
resolve ( array $arguments, Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, array $scope = [] ) : ResolvedFixtureSet Resolves an array of arguments, i.e. determine the final value of each argument parameter. Once resolved, the value will be ready to be passed to the object.

Method Details

resolve() public method

Resolves an array of arguments, i.e. determine the final value of each argument parameter. Once resolved, the value will be ready to be passed to the object.
public resolve ( array $arguments, Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, array $scope = [] ) : ResolvedFixtureSet
$arguments array Arguments to resolved
$fixture Nelmio\Alice\FixtureInterface Fixture to which belongs the arguments.
$fixtureSet ResolvedFixtureSet
$scope array List of variables accessible while resolving the arguments.
return ResolvedFixtureSet Set where the arguments of the given fixture will have been resolved.