class NodeConverter extends AbstractTypeConverter (View source)

deprecated

!!! Only needed for uncached Fusion segments; as in Fusion ContentCache, the PropertyMapper is used to serialize and deserialize the context.

{\Neos\Fusion\Core\Cache\ContentCache::serializeContext()}

Properties

protected ContentRepositoryRegistry $contentRepositoryRegistry
protected array<int,string> $sourceTypes
protected string $targetType
protected int $priority

Methods

mixed|Error|string|null
convertFrom(Node $source, string $targetType = null, array $subProperties = [], PropertyMappingConfigurationInterface $configuration = null)

No description

Details

mixed|Error|string|null convertFrom(Node $source, string $targetType = null, array $subProperties = [], PropertyMappingConfigurationInterface $configuration = null)

No description

Parameters

Node $source
string $targetType
array $subProperties
PropertyMappingConfigurationInterface $configuration

Return Value

mixed|Error|string|null