PHP Class Nelmio\Alice\Generator\Resolver\Value\Chainable\PhpFunctionCallValueResolver

Inheritance: implements Nelmio\Alice\Generator\Resolver\Value\ChainableValueResolverInterface, use trait Nelmio\Alice\IsAServiceTrait
Afficher le fichier Open project: nelmio/alice Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array $functionBlacklist, Nelmio\Alice\Generator\ValueResolverInterface $decoratedResolver )
canResolve ( Nelmio\Alice\Definition\ValueInterface $value ) : boolean
resolve ( Nelmio\Alice\Definition\ValueInterface $value, Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, array $scope, GenerationContext $context ) : ResolvedValueWithFixtureSet

Method Details

__construct() public méthode

public __construct ( array $functionBlacklist, Nelmio\Alice\Generator\ValueResolverInterface $decoratedResolver )
$functionBlacklist array List of PHP native function that will be skipped, i.e. will be considered as non existent
$decoratedResolver Nelmio\Alice\Generator\ValueResolverInterface

canResolve() public méthode

public canResolve ( Nelmio\Alice\Definition\ValueInterface $value ) : boolean
$value Nelmio\Alice\Definition\ValueInterface
Résultat boolean

resolve() public méthode

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
Résultat Nelmio\Alice\Generator\ResolvedValueWithFixtureSet