Neos\Flow\Property\TypeConverter\ArrayConverter::getStringFormat PHP Метод

getStringFormat() защищенный Метод

protected getStringFormat ( Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : string
$configuration Neos\Flow\Property\PropertyMappingConfigurationInterface
Результат string
    protected function getStringFormat(PropertyMappingConfigurationInterface $configuration = null)
    {
        if ($configuration === null) {
            return self::DEFAULT_STRING_FORMAT;
        }
        $stringFormat = $configuration->getConfigurationValue(ArrayConverter::class, self::CONFIGURATION_STRING_FORMAT);
        if ($stringFormat === null) {
            return self::DEFAULT_STRING_FORMAT;
        } elseif (!is_string($stringFormat)) {
            throw new InvalidPropertyMappingConfigurationException(sprintf('CONFIGURATION_STRING_FORMAT must be of type string, "%s" given', is_object($stringFormat) ? get_class($stringFormat) : gettype($stringFormat)), 1404227443);
        }
        return $stringFormat;
    }