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

            case ElcodiConfigurationTypes::TYPE_BOOLEAN:
                $configurationValue = (boolean) $configurationValue;
                break;

            case ElcodiConfigurationTypes::TYPE_ARRAY:
                $configurationValue = json_decode($configurationValue, true);
                break;
        }

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

            case ElcodiConfigurationTypes::TYPE_BOOLEAN:
                $configurationValue = (boolean) $configurationValue;
                break;

            case ElcodiConfigurationTypes::TYPE_ARRAY:
                $configurationValue = json_decode($configurationValue, true);
                break;
        }

        return $configurationValue;
    }
private function unserializeValue ( $ configurationValue , $ configurationType ) { switch ( $ configurationType ) { case ElcodiConfigurationTypes :: TYPE_BOOLEAN : $ configurationValue = ( boolean ) $ configurationValue ; break ; case ElcodiConfigurationTypes :: TYPE_ARRAY : $ configurationValue = json_decode ( $ configurationValue , true ) ; break ; } return $ configurationValue ; }
Unserialize configuration value.

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

@return mixed Configuration value unserialized
Unserialize configuration value .