You are here

public static function MappingException::nonExistingClass in Plug 7

Parameters

string $className:

Return value

self

1 call to MappingException::nonExistingClass()
RuntimeReflectionService::getParentClasses in lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php
Returns an array of the parent classes (not interfaces) for the given class.

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php, line 94

Class

MappingException
A MappingException indicates that something is wrong with the mapping setup.

Namespace

Doctrine\Common\Persistence\Mapping

Code

public static function nonExistingClass($className) {
  return new self("Class '{$className}' does not exist");
}