PHP Class Neos\Neos\Service\Mapping\DateStringConverter

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

Protected Properties

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

Public Methods

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

Method Details

convertFrom() public method

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

Property Details

$priority protected property

The priority for this converter.
protected int $priority
return integer

$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