class xautoload_ClassFinder_Proxy in X Autoload 7.3
Hierarchy
- class \xautoload_Container_ProxyObject
- class \xautoload_Container_IdentityProxyObject
- class \xautoload_ClassFinder_Proxy implements xautoload_ClassFinder_Interface
- class \xautoload_Container_IdentityProxyObject
Expanded class hierarchy of xautoload_ClassFinder_Proxy
File
- lib/
ClassFinder/ Proxy.php, line 3
View source
class xautoload_ClassFinder_Proxy extends xautoload_Container_IdentityProxyObject implements xautoload_ClassFinder_Interface {
/**
* Finds the path to the file where the class is defined.
*
* @param xautoload_InjectedAPI_findFile $api
* API object with a suggestFile() method.
* We are supposed to call $api->suggestFile($file) with all suggestions we
* can find, until it returns TRUE. Once suggestFile() returns TRUE, we stop
* and return TRUE as well. The $file will be in the $api object, so we
* don't need to return it.
* @param string $class
* The name of the class, with all namespaces prepended.
* E.g. Some\Namespace\Some\Class
*
* @return TRUE|NULL
* TRUE, if we found the file for the class.
* That is, if the $api->suggestFile($file) method returned TRUE one time.
* NULL, if we have no more suggestions.
*/
function findFile($api, $class) {
return $this
->proxyGetInstance()
->findFile($api, $class);
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
xautoload_ClassFinder_Proxy:: |
function |
Finds the path to the file where the class is defined. Overrides xautoload_ClassFinder_Interface:: |
||
xautoload_Container_IdentityProxyObject:: |
protected | property | ||
xautoload_Container_IdentityProxyObject:: |
protected | function |
Overrides xautoload_Container_ProxyObject:: |
|
xautoload_Container_IdentityProxyObject:: |
function | |||
xautoload_Container_ProxyObject:: |
protected | property | ||
xautoload_Container_ProxyObject:: |
protected | property | ||
xautoload_Container_ProxyObject:: |
protected | property | ||
xautoload_Container_ProxyObject:: |
function | |||
xautoload_Container_ProxyObject:: |
function | |||
xautoload_Container_ProxyObject:: |
function |