public static function MappingException::fileMappingDriversRequireConfiguredDirectoryPath in Plug 7
Parameters
string|null $path:
Return value
self
4 calls to MappingException::fileMappingDriversRequireConfiguredDirectoryPath()
- 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.
- DefaultFileLocator::getAllClassNames in lib/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ Driver/ DefaultFileLocator.php - Gets all class names that are found with this file locator.
- 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?
- SymfonyFileLocator::getAllClassNames in lib/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ Driver/ SymfonyFileLocator.php - Gets all class names that are found with this file locator.
File
- lib/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ MappingException.php, line 55
Class
- MappingException
- A MappingException indicates that something is wrong with the mapping setup.
Namespace
Doctrine\Common\Persistence\MappingCode
public static function fileMappingDriversRequireConfiguredDirectoryPath($path = null) {
if (!empty($path)) {
$path = '[' . $path . ']';
}
return new self('File mapping drivers must have a valid directory path, ' . 'however the given path ' . $path . ' seems to be incorrect!');
}