class NodeTypeStringConverter extends AbstractTypeConverter (View source)

deprecated todo still used?

internal  
 

Properties

protected string[] $sourceTypes

The source types this converter can convert.

protected string $targetType

The target type this converter can convert to.

Methods

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

{@inheritdoc}

Details

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

{@inheritdoc}

Parameters

mixed $source
string $targetType
array $convertedChildProperties
PropertyMappingConfigurationInterface|null $configuration

Return Value

string