You are here

public static function MappingException::mappingFileNotFound in Plug 7

Parameters

string $entityName:

string $fileName:

Return value

self

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

File

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

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}'.");
}