PHP 클래스 Nelmio\Alice\Generator\ObjectGenerator\SimpleObjectGenerator

상속: implements Nelmio\Alice\Generator\ObjectGeneratorInterface, use trait Nelmio\Alice\IsAServiceTrait
파일 보기 프로젝트 열기: nelmio/alice 1 사용 예제들

공개 메소드들

메소드 설명
__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

비공개 메소드들

메소드 설명
completeObject ( Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $set, GenerationContext $context ) : ResolvedFixtureSet

메소드 상세

__construct() 공개 메소드

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 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