PHP Class Neos\Flow\I18n\LocaleTypeConverter

Inheritance: extends Neos\Flow\Property\TypeConverter\AbstractTypeConverter
Mostrar archivo Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$priority integer
$sourceTypes string
$targetType string

Public Methods

Method Description
convertFrom ( string $source, Locale $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : Locale Convert the given $source (a locale identifier string) to $targetType (Locale)

Method Details

convertFrom() public method

Convert the given $source (a locale identifier string) to $targetType (Locale)
public convertFrom ( string $source, Locale $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : Locale
$source string the locale string
$targetType Locale
$convertedChildProperties array
$configuration Neos\Flow\Property\PropertyMappingConfigurationInterface
return Locale

Property Details

$priority protected_oe property

protected int $priority
return integer

$sourceTypes protected_oe property

protected string $sourceTypes
return string

$targetType protected_oe property

protected string $targetType
return string