Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\Value\SimpleValueDenormalizer::parseValue PHP Method

parseValue() private method

private parseValue ( Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface $parser, string $value ) : mixed | Nelmio\Alice\Definition\ValueInterface
$parser Nelmio\Alice\FixtureBuilder\ExpressionLanguage\ParserInterface
$value string
return mixed | Nelmio\Alice\Definition\ValueInterface
    private function parseValue(ParserInterface $parser, string $value)
    {
        try {
            return $parser->parse($value);
        } catch (ParseThrowable $throwable) {
            throw DenormalizerExceptionFactory::createForUnparsableValue($value, 0, $throwable);
        }
    }