private function serializeValue($configurationValue, $configurationType)
    {
        switch ($configurationType) {

            case ElcodiConfigurationTypes::TYPE_ARRAY:
                $configurationValue = json_encode($configurationValue);
                break;
        }

        return $configurationValue;
    }
private function serializeValue($configurationValue, $configurationType)
    {
        switch ($configurationType) {

            case ElcodiConfigurationTypes::TYPE_ARRAY:
                $configurationValue = json_encode($configurationValue);
                break;
        }

        return $configurationValue;
    }
private function serializeValue ( $ configurationValue , $ configurationType ) { switch ( $ configurationType ) { case ElcodiConfigurationTypes :: TYPE_ARRAY : $ configurationValue = json_encode ( $ configurationValue ) ; break ; } return $ configurationValue ; }
Serialize configuration value.

@param string $configurationValue Configuration value
@param string $configurationType  Configuration type

@return string Configuration value serialized
Serialize configuration value .