PHP Interface Nelmio\Alice\Generator\InstantiatorInterface

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

Méthodes publiques

Méthode Description
instantiate ( Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, GenerationContext $context ) : ResolvedFixtureSet Instantiates the object described by the given fixture. Has access to the current fixture set and returns the new fixture set containing the instantiated the object.

Method Details

instantiate() public méthode

Instantiates the object described by the given fixture. Has access to the current fixture set and returns the new fixture set containing the instantiated the object.
public instantiate ( Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, GenerationContext $context ) : ResolvedFixtureSet
$fixture Nelmio\Alice\FixtureInterface
$fixtureSet ResolvedFixtureSet
$context GenerationContext
Résultat ResolvedFixtureSet