abstract protected function FileDriver::loadMappingFile

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 drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php
Get 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 drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php
Initialize the class cache from all the global files.
2 methods override FileDriver::loadMappingFile()
PHPDriver::loadMappingFile in drupal/core/vendor/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 drupal/core/vendor/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

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php, line 166

Class

FileDriver
Base driver for file-based metadata drivers.

Namespace

Doctrine\Common\Persistence\Mapping\Driver

Code

protected abstract function loadMappingFile($file);