original_string: public function setDiscriminatorDefaultValue($discriminatorDefaultValue)
      {
          if ($discriminatorDefaultValue !== null && !array_key_exists($discriminatorDefaultValue, $this->discriminatorMap)) {
              throw MappingException::invalidDiscriminatorValue($discriminatorDefaultValue, $this->name);
          }
  
          $this->discriminatorDefaultValue = $discriminatorDefaultValue;
      }
code: public function setDiscriminatorDefaultValue($discriminatorDefaultValue)
      {
          if ($discriminatorDefaultValue !== null && !array_key_exists($discriminatorDefaultValue, $this->discriminatorMap)) {
              throw MappingException::invalidDiscriminatorValue($discriminatorDefaultValue, $this->name);
          }
  
          $this->discriminatorDefaultValue = $discriminatorDefaultValue;
      }
code_tokens: public function setDiscriminatorDefaultValue ( $ discriminatorDefaultValue ) { if ( $ discriminatorDefaultValue !== null && ! array_key_exists ( $ discriminatorDefaultValue , $ this -> discriminatorMap ) ) { throw MappingException :: invalidDiscriminatorValue ( $ discriminatorDefaultValue , $ this -> name ) ; } $ this -> discriminatorDefaultValue = $ discriminatorDefaultValue ; }
docstring: Sets the default discriminator value to be used for this class
  Used for JOINED and SINGLE_TABLE inheritance mapping strategies if the
  document has no discriminator value
  
  @param string $discriminatorDefaultValue
  
  @throws MappingException
docstring_tokens: Sets the default discriminator value to be used for this class Used for JOINED and SINGLE_TABLE inheritance mapping strategies if the document has no discriminator value