You are here

public static function MappingException::mappingFileNotFound in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php \Doctrine\Common\Persistence\Mapping\MappingException::mappingFileNotFound()

Parameters

string $entityName:

string $fileName:

Return value

self

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

File

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