FileLocator
interface FileLocator (View source)
Locates 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.
Methods
Locates mapping file for the given class name.
Gets all class names that are found with this file locator.
Checks if a file can be found for this class name.
Gets all the paths that this file locator looks for mapping files.
Gets the file extension that mapping files are suffixed with.
Details
at line 40
string
findMappingFile(string $className)
Locates mapping file for the given class name.
at line 49
array
getAllClassNames(string $globalBasename)
Gets all class names that are found with this file locator.
at line 58
bool
fileExists(string $className)
Checks if a file can be found for this class name.
at line 65
array
getPaths()
Gets all the paths that this file locator looks for mapping files.
at line 72
string
getFileExtension()
Gets the file extension that mapping files are suffixed with.