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

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

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