PHP Класс Nelmio\Alice\Generator\Resolver\Value\ValueResolverRegistry

Наследование: implements Nelmio\Alice\Generator\ValueResolverInterface, implements Nelmio\Alice\Generator\ObjectGeneratorAwareInterface, use trait Nelmio\Alice\IsAServiceTrait
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( array $resolvers, Nelmio\Alice\Generator\ObjectGeneratorInterface $generator = null )
resolve ( Nelmio\Alice\Definition\ValueInterface $value, Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, array $scope, GenerationContext $context ) : ResolvedValueWithFixtureSet
withObjectGenerator ( Nelmio\Alice\Generator\ObjectGeneratorInterface $generator )

Описание методов

__construct() публичный Метод

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

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 )
$generator Nelmio\Alice\Generator\ObjectGeneratorInterface