PHP Class Nelmio\Alice\Generator\ObjectGenerator\CompleteObjectGenerator

Inheritance: implements Nelmio\Alice\Generator\ObjectGeneratorInterface, use trait Nelmio\Alice\IsAServiceTrait
Afficher le fichier Open project: nelmio/alice Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Nelmio\Alice\Generator\ObjectGeneratorInterface $objectGenerator )
generate ( Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, GenerationContext $context ) : ObjectBag

Private Methods

Méthode Description
isObjectComplete ( Nelmio\Alice\FixtureInterface $fixture, Nelmio\Alice\ObjectInterface $object, GenerationContext $context ) : boolean

Method Details

__construct() public méthode

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

generate() public méthode

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
Résultat Nelmio\Alice\ObjectBag