-
(boolean) autoload ($class)
Browse code
Handles autoloading of classes that have been specified in autoload.yml.
returns Returns true if the class has been loaded
-
(string|null) getClassPath ($class)
Browse code
Returns the path where a particular class can be found.
returns An absolute path
-
(sfCoreAutoload) getInstance ()
Browse code
Retrieves the singleton instance of this class.
returns A sfCoreAutoload implementation instance.
-
(boolean) loadClass ($class)
Browse code
Tries to load a class that has been specified in autoload.yml.
returns Returns true if the class has been loaded
-
Register sfAutoload in spl autoloader.
-
(boolean) reloadClasses ($force)
Browse code
| $force |
Whether to force a reload |
Reloads the autoloader.
returns True if the reload was successful, otherwise false
-
setClassPath ($class, $path)
Browse code
| $class |
A PHP class name |
| $path |
An absolute path |
Sets the path for a particular class.
-
Unregister sfAutoload from spl autoloader.
-