original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Unserialize configuration value.
  
  @param string $configurationValue Configuration value
  @param string $configurationType  Configuration type
  
  @return mixed Configuration value unserialized
docstring_tokens: Unserialize configuration value .