invalidClassInDiscriminatorMap() публичный статический Метод

An example would be an outdated (maybe renamed) classname.
public static invalidClassInDiscriminatorMap ( string $className, string $owningClass ) : MappingException
$className string The class that could not be found
$owningClass string The class that declares the discriminator map.
Результат MappingException
 /**
  * Sets the discriminator values used by this class.
  * Used for JOINED and SINGLE_TABLE inheritance mapping strategies.
  *
  * @param array $map
  *
  * @throws MappingException
  */
 public function setDiscriminatorMap(array $map)
 {
     foreach ($map as $value => $className) {
         if (strpos($className, '\\') === false && strlen($this->namespace)) {
             $className = $this->namespace . '\\' . $className;
         }
         $this->discriminatorMap[$value] = $className;
         if ($this->name == $className) {
             $this->discriminatorValue = $value;
         } else {
             if (!class_exists($className)) {
                 throw MappingException::invalidClassInDiscriminatorMap($className, $this->name);
             }
             if (is_subclass_of($className, $this->name)) {
                 $this->subClasses[] = $className;
             }
         }
     }
 }