You are here

abstract protected function FileDriver::loadMappingFile in Plug 7

Loads a mapping file with the given name and returns a map from class/entity names to their corresponding file driver elements.

Parameters

string $file The mapping file to load.:

Return value

array

2 calls to FileDriver::loadMappingFile()
FileDriver::getElement in lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php
Gets the element of schema meta data for the class from the mapping file. This will lazily load the mapping file if it is not loaded yet.
FileDriver::initialize in lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php
Initializes the class cache from all the global files.
2 methods override FileDriver::loadMappingFile()
PHPDriver::loadMappingFile in lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/PHPDriver.php
Loads a mapping file with the given name and returns a map from class/entity names to their corresponding file driver elements.
TestFileDriver::loadMappingFile in lib/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/FileDriverTest.php
Loads a mapping file with the given name and returns a map from class/entity names to their corresponding file driver elements.

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php, line 163

Class

FileDriver
Base driver for file-based metadata drivers.

Namespace

Doctrine\Common\Persistence\Mapping\Driver

Code

protected abstract function loadMappingFile($file);