PHP Interface Nelmio\Alice\Generator\ObjectGeneratorInterface

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

Méthodes publiques

Méthode Description
generate ( Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, GenerationContext $context ) : ObjectBag Generates a fixture.

Method Details

generate() public méthode

Generates a fixture.
public generate ( Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, GenerationContext $context ) : ObjectBag
$fixture Nelmio\Alice\FixtureInterface Fixture to generate
$fixtureSet ResolvedFixtureSet List of fixtures being generated
$context GenerationContext
Résultat Nelmio\Alice\ObjectBag New instance of $objects with the objects generated when generating $fixture.