original_string: public function getValue($feature) {
          // side effect: checks for instanceof ValueFeature
          $defaultValue = $feature->getDefaultValue();
          $values = $this->xmlConfiguration->getValues();
          if (array_key_exists($feature->getName(), $values))
              return $values[$feature->getName()];
          else
              return $defaultValue;
      }
code: public function getValue($feature) {
          // side effect: checks for instanceof ValueFeature
          $defaultValue = $feature->getDefaultValue();
          $values = $this->xmlConfiguration->getValues();
          if (array_key_exists($feature->getName(), $values))
              return $values[$feature->getName()];
          else
              return $defaultValue;
      }
code_tokens: public function getValue ( $ feature ) { // side effect: checks for instanceof ValueFeature $ defaultValue = $ feature -> getDefaultValue ( ) ; $ values = $ this -> xmlConfiguration -> getValues ( ) ; if ( array_key_exists ( $ feature -> getName ( ) , $ values ) ) return $ values [ $ feature -> getName ( ) ] ; else return $ defaultValue ; }
docstring: Returns the configuration's value for a value feature.
  @param ValueFeature $feature
  @return string
docstring_tokens: Returns the configuration s value for a value feature .