PHP Интерфейс Nelmio\Alice\Generator\ObjectGeneratorInterface

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
generate ( Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, GenerationContext $context ) : ObjectBag Generates a fixture.

Описание методов

generate() публичный Метод

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
Результат Nelmio\Alice\ObjectBag New instance of $objects with the objects generated when generating $fixture.