Doctrine\Common\Persistence\Mapping\Driver\FileLocator
Locate the file that contains the metadata information for a given class name.
This behavior is independent of the actual content of the file. It just detects
the file which is responsible for the given class name.
- Author: Benjamin Eberlei <kontakt@beberlei.de>
Synopsis
interface FileLocator
{
- // methods
- public string findMappingFile()
- public array getAllClassNames()
- public bool fileExists()
- public array getPaths()
- public string getFileExtension()
Methods
public
- fileExists() — Check if a file can be found for this class name.
- findMappingFile() — Locate mapping file for the given class name.
- getAllClassNames() — Get all class names that are found with this file locator.
- getFileExtension() — Get the file extension that mapping files are suffixed with.
- getPaths() — Get all the paths that this file locator looks for mapping files.