Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\SpecificationBagDenormalizer\SimpleSpecificationsDenormalizer::denormalizeProperty PHP Method

denormalizeProperty() private method

private denormalizeProperty ( PropertyDenormalizerInterface $propertyDenormalizer, Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParserInterface $flagParser, string $unparsedPropertyName, $value, PropertyBag $properties, Nelmio\Alice\FixtureInterface $scope ) : PropertyBag
$propertyDenormalizer PropertyDenormalizerInterface
$flagParser Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParserInterface
$unparsedPropertyName string
$properties Nelmio\Alice\Definition\PropertyBag
$scope Nelmio\Alice\FixtureInterface
return Nelmio\Alice\Definition\PropertyBag
    private function denormalizeProperty(PropertyDenormalizerInterface $propertyDenormalizer, FlagParserInterface $flagParser, string $unparsedPropertyName, $value, PropertyBag $properties, FixtureInterface $scope) : PropertyBag
    {
        $flags = $flagParser->parse($unparsedPropertyName);
        $propertyName = $flags->getKey();
        $property = $propertyDenormalizer->denormalize($scope, $propertyName, $value, $flags);
        return $properties->with($property);
    }