PHP 인터페이스 Nelmio\Alice\Generator\ValueResolverInterface

파일 보기 프로젝트 열기: nelmio/alice 0 사용 예제들

공개 메소드들

메소드 설명
resolve ( Nelmio\Alice\Definition\ValueInterface $value, Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, array $scope, GenerationContext $context ) : ResolvedValueWithFixtureSet Resolves a value, i.e. determine the final value. Once resolved, the value will be ready to be passed to the object.

메소드 상세

resolve() 공개 메소드

Resolves a value, i.e. determine the final value. Once resolved, the value will be ready to be passed to the object.
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 Fixture to which belongs the arguments.
$fixtureSet ResolvedFixtureSet
$scope array List of variables accessible while resolving the arguments.
$context GenerationContext
리턴 ResolvedValueWithFixtureSet