protected function getArrayFormat(PropertyMappingConfigurationInterface $configuration = null)
    {
        if ($configuration === null) {
            return self::DEFAULT_ARRAY_FORMAT;
        }

        $arrayFormat = $configuration->getConfigurationValue(StringConverter::class, self::CONFIGURATION_ARRAY_FORMAT);
        if ($arrayFormat === null) {
            return self::DEFAULT_ARRAY_FORMAT;
        } elseif (!is_string($arrayFormat)) {
            throw new InvalidPropertyMappingConfigurationException('CONFIGURATION_ARRAY_FORMAT must be of type string, "' . (is_object($arrayFormat) ? get_class($arrayFormat) : gettype($arrayFormat)) . '" given', 1404228995);
        }

        return $arrayFormat;
    }
protected function getArrayFormat(PropertyMappingConfigurationInterface $configuration = null)
    {
        if ($configuration === null) {
            return self::DEFAULT_ARRAY_FORMAT;
        }

        $arrayFormat = $configuration->getConfigurationValue(StringConverter::class, self::CONFIGURATION_ARRAY_FORMAT);
        if ($arrayFormat === null) {
            return self::DEFAULT_ARRAY_FORMAT;
        } elseif (!is_string($arrayFormat)) {
            throw new InvalidPropertyMappingConfigurationException('CONFIGURATION_ARRAY_FORMAT must be of type string, "' . (is_object($arrayFormat) ? get_class($arrayFormat) : gettype($arrayFormat)) . '" given', 1404228995);
        }

        return $arrayFormat;
    }
protected function getArrayFormat ( PropertyMappingConfigurationInterface $ configuration = null ) { if ( $ configuration === null ) { return self :: DEFAULT_ARRAY_FORMAT ; } $ arrayFormat = $ configuration -> getConfigurationValue ( StringConverter :: class , self :: CONFIGURATION_ARRAY_FORMAT ) ; if ( $ arrayFormat === null ) { return self :: DEFAULT_ARRAY_FORMAT ; } elseif ( ! is_string ( $ arrayFormat ) ) { throw new InvalidPropertyMappingConfigurationException ( 'CONFIGURATION_ARRAY_FORMAT must be of type string, "' . ( is_object ( $ arrayFormat ) ? get_class ( $ arrayFormat ) : gettype ( $ arrayFormat ) ) . '" given' , 1404228995 ) ; } return $ arrayFormat ; }
Determines the format to use for the conversion from array to string.

If no format is specified in the mapping configuration DEFAULT_ARRAY_FORMAT is used.

@param PropertyMappingConfigurationInterface $configuration
@return string
@throws InvalidPropertyMappingConfigurationException
Determines the format to use for the conversion from array to string .