You are here

public static function MappingException::nonExistingClass in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php \Doctrine\Common\Persistence\Mapping\MappingException::nonExistingClass()

Parameters

string $className:

Return value

self

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

File

vendor/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");
}