PHP Class Neos\Neos\Service\Mapping\NodeTypeStringConverter

Inheritance: extends Neos\Flow\Property\TypeConverter\AbstractTypeConverter
Show file Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$sourceTypes array The source types this converter can convert.
$targetType string The target type this converter can convert to.

Public Methods

Method Description
convertFrom ( mixed $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : string

Method Details

convertFrom() public method

public convertFrom ( mixed $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : string
$source mixed
$targetType string
$convertedChildProperties array
$configuration Neos\Flow\Property\PropertyMappingConfigurationInterface
return string

Property Details

$sourceTypes protected property

The source types this converter can convert.
protected array $sourceTypes
return array

$targetType protected property

The target type this converter can convert to.
protected string $targetType
return string