class NodeAddressToStringConverter extends AbstractTypeConverter (View source)

An Object Converter for Node Addresses which can be used for routing (but also for other purposes) as a plugin for the Property Mapper.

Properties

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

Methods

string
convertFrom(NodeAddress $source, string $targetType, array $convertedChildProperties = [], PropertyMappingConfigurationInterface $configuration = null)

No description

Details

string convertFrom(NodeAddress $source, string $targetType, array $convertedChildProperties = [], PropertyMappingConfigurationInterface $configuration = null)

No description

Parameters

NodeAddress $source
string $targetType
array $convertedChildProperties
PropertyMappingConfigurationInterface $configuration

Return Value

string