Neos\Flow\I18n\LocaleTypeConverter::convertFrom PHP Метод

convertFrom() публичный Метод

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
Результат Locale
    public function convertFrom($source, $targetType, array $convertedChildProperties = [], PropertyMappingConfigurationInterface $configuration = null)
    {
        return new Locale($source);
    }
LocaleTypeConverter