public static function MappingException::mappingFileNotFound

Parameters

string $entityName:

string $fileName:

Return value

MappingException

2 calls to MappingException::mappingFileNotFound()
DefaultFileLocator::findMappingFile in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/DefaultFileLocator.php
Locate mapping file for the given class name.
SymfonyFileLocator::findMappingFile in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/SymfonyFileLocator.php
Locate mapping file for the given class name.

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php, line 72

Class

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

Namespace

Doctrine\Common\Persistence\Mapping

Code

public static function mappingFileNotFound($entityName, $fileName) {
  return new self("No mapping file found named '{$fileName}' for class '{$entityName}'.");
}