PHP Класс Nelmio\Alice\Generator\ObjectGenerator\CompleteObjectGenerator

Наследование: implements Nelmio\Alice\Generator\ObjectGeneratorInterface, use trait Nelmio\Alice\IsAServiceTrait
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( Nelmio\Alice\Generator\ObjectGeneratorInterface $objectGenerator )
generate ( Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, GenerationContext $context ) : ObjectBag

Приватные методы

Метод Описание
isObjectComplete ( Nelmio\Alice\FixtureInterface $fixture, Nelmio\Alice\ObjectInterface $object, GenerationContext $context ) : boolean

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

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

public __construct ( Nelmio\Alice\Generator\ObjectGeneratorInterface $objectGenerator )
$objectGenerator Nelmio\Alice\Generator\ObjectGeneratorInterface

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

public generate ( Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, GenerationContext $context ) : ObjectBag
$fixture Nelmio\Alice\FixtureInterface
$fixtureSet Nelmio\Alice\Generator\ResolvedFixtureSet
$context Nelmio\Alice\Generator\GenerationContext
Результат Nelmio\Alice\ObjectBag