Class AutoLoader (namespace Nette\Loaders)
Auto loader is responsible for loading classes and interfaces.
Object | --AutoLoader
Direct Known Sub-classes:
| Public Method Summary | |
|---|---|
| static array |
getLoaders
()
Return all registered autoloaders.
|
| static void |
load
(string $type)
Try to load the requested class.
|
| void |
register
()
Register autoloader.
|
| abstract void |
tryLoad
(string $type)
Handles autoloading of classes or interfaces.
|
| bool |
unregister
()
Unregister autoloader.
|
| Methods Inherited From Object |
|---|
| extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
| Variable Summary | ||||
|---|---|---|---|---|
| static int | $count | 0 |
line 42 for profiling purposes |
|
| Method Details | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
line 62 getLoaderspublic static array getLoaders () Return all registered autoloaders.
|
||||||||||||||||||
|
line 51 loadpublic static void load (string $type) Try to load the requested class.
|
||||||||||||||||||
|
line 73 registerpublic void register () Register autoloader.
|
||||||||||||||||||
|
line 102 tryLoadpublic abstract void tryLoad (string $type) Handles autoloading of classes or interfaces. Overridden in child classes as:
|
||||||||||||||||||
|
line 89 unregisterpublic bool unregister () Unregister autoloader.
|
||||||||||||||||||
