You are here

public static function MappingException::pathRequired in Plug 7

Return value

self

2 calls to MappingException::pathRequired()
AnnotationDriver::getAllClassNames in lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/AnnotationDriver.php
Gets the names of all mapped classes known to this driver.
StaticPHPDriver::getAllClassNames in lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/StaticPHPDriver.php
@todo Same code exists in AnnotationDriver, should we re-use it somehow or not worry about it?

File

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

Class

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

Namespace

Doctrine\Common\Persistence\Mapping

Code

public static function pathRequired() {
  return new self("Specifying the paths to your entities is required " . "in the AnnotationDriver to retrieve all class names.");
}