PHP Class Nelmio\Alice\Generator\ObjectGenerator\SimpleObjectGenerator

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\ValueResolverInterface $valueResolver, Nelmio\Alice\Generator\InstantiatorInterface $instantiator, Nelmio\Alice\Generator\HydratorInterface $hydrator, Nelmio\Alice\Generator\CallerInterface $caller )
generate ( Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, GenerationContext $context ) : ObjectBag

Private Methods

Méthode Description
completeObject ( Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $set, GenerationContext $context ) : ResolvedFixtureSet

Method Details

__construct() public méthode

public __construct ( Nelmio\Alice\Generator\ValueResolverInterface $valueResolver, Nelmio\Alice\Generator\InstantiatorInterface $instantiator, Nelmio\Alice\Generator\HydratorInterface $hydrator, Nelmio\Alice\Generator\CallerInterface $caller )
$valueResolver Nelmio\Alice\Generator\ValueResolverInterface
$instantiator Nelmio\Alice\Generator\InstantiatorInterface
$hydrator Nelmio\Alice\Generator\HydratorInterface
$caller Nelmio\Alice\Generator\CallerInterface

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