PHP 클래스 Nelmio\Alice\Generator\Resolver\Value\Chainable\FixtureReferenceResolver

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

공개 메소드들

메소드 설명
__construct ( Nelmio\Alice\Generator\ObjectGeneratorInterface $generator = null )
canResolve ( Nelmio\Alice\Definition\ValueInterface $value ) : boolean
resolve ( Nelmio\Alice\Definition\ValueInterface $value, Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, array $scope, GenerationContext $context ) : ResolvedValueWithFixtureSet
withObjectGenerator ( Nelmio\Alice\Generator\ObjectGeneratorInterface $generator ) : self

비공개 메소드들

메소드 설명
getReferredFixture ( string $id, ResolvedFixtureSet $set ) : Nelmio\Alice\FixtureIdInterface
resolveReferredFixture ( Nelmio\Alice\FixtureIdInterface $referredFixture, string $referredFixtureId, ResolvedFixtureSet $fixtureSet, GenerationContext $context ) : ResolvedValueWithFixtureSet

메소드 상세

__construct() 공개 메소드

public __construct ( Nelmio\Alice\Generator\ObjectGeneratorInterface $generator = null )
$generator Nelmio\Alice\Generator\ObjectGeneratorInterface

canResolve() 공개 메소드

public canResolve ( Nelmio\Alice\Definition\ValueInterface $value ) : boolean
$value Nelmio\Alice\Definition\ValueInterface
리턴 boolean

resolve() 공개 메소드

public resolve ( Nelmio\Alice\Definition\ValueInterface $value, Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, array $scope, GenerationContext $context ) : ResolvedValueWithFixtureSet
$value Nelmio\Alice\Definition\ValueInterface
$fixture Nelmio\Alice\FixtureInterface
$fixtureSet Nelmio\Alice\Generator\ResolvedFixtureSet
$scope array
$context Nelmio\Alice\Generator\GenerationContext
리턴 Nelmio\Alice\Generator\ResolvedValueWithFixtureSet

withObjectGenerator() 공개 메소드

public withObjectGenerator ( Nelmio\Alice\Generator\ObjectGeneratorInterface $generator ) : self
$generator Nelmio\Alice\Generator\ObjectGeneratorInterface
리턴 self