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

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

공개 메소드들

메소드 설명
__construct ( Symfony\Component\PropertyAccess\PropertyAccessorInterface $propertyAccessor, Nelmio\Alice\Generator\ValueResolverInterface $resolver = 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
withValueResolver ( Nelmio\Alice\Generator\ValueResolverInterface $resolver ) : self

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\PropertyAccess\PropertyAccessorInterface $propertyAccessor, Nelmio\Alice\Generator\ValueResolverInterface $resolver = null )
$propertyAccessor Symfony\Component\PropertyAccess\PropertyAccessorInterface
$resolver Nelmio\Alice\Generator\ValueResolverInterface

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

withValueResolver() 공개 메소드

public withValueResolver ( Nelmio\Alice\Generator\ValueResolverInterface $resolver ) : self
$resolver Nelmio\Alice\Generator\ValueResolverInterface
리턴 self