PHP Interface Nelmio\Alice\Generator\ArgumentsResolverInterface

Afficher le fichier Open project: nelmio/alice

Méthodes publiques

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

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.
Résultat ResolvedFixtureSet Set where the arguments of the given fixture will have been resolved.