PHP Interface Nelmio\Alice\Generator\ObjectGeneratorInterface

Show file Open project: nelmio/alice Interface Usage Examples

Public Methods

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

Method Details

generate() public method

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
return Nelmio\Alice\ObjectBag New instance of $objects with the objects generated when generating $fixture.