public static function MappingException::pathRequired in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php \Doctrine\Common\Persistence\Mapping\MappingException::pathRequired()
Return value
self
2 calls to MappingException::pathRequired()
- AnnotationDriver::getAllClassNames in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ Driver/ AnnotationDriver.php - Gets the names of all mapped classes known to this driver.
- StaticPHPDriver::getAllClassNames in vendor/
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
- vendor/
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\MappingCode
public static function pathRequired() {
return new self("Specifying the paths to your entities is required " . "in the AnnotationDriver to retrieve all class names.");
}