RobotLoader
class RobotLoader extends Object
Nette auto loader is responsible for loading classes and interfaces.
Constants
RETRY_LIMIT |
|
Properties
string|array | $ignoreDirs | ||
string|array | $acceptFiles | ||
bool | $autoRebuild |
Methods
__construct()
No description
register($prepend = FALSE)
Register autoloader.
void
tryLoad($type)
Handles autoloading of classes, interfaces or traits.
addDirectory($path)
Add path or paths to list.
array
getIndexedClasses()
No description
void
rebuild()
Rebuilds class list cache.
rebuildCallback()
No description
setCacheStorage(IStorage $storage)
No description
IStorage
getCacheStorage()
No description
Cache
getCache()
No description
string
getKey()
No description
Details
at line 47
__construct()
No description
at line 60
RobotLoader
register($prepend = FALSE)
Register autoloader.
at line 73
void
tryLoad($type)
Handles autoloading of classes, interfaces or traits.
at line 116
RobotLoader
addDirectory($path)
Add path or paths to list.
at line 126
array
getIndexedClasses()
No description
at line 142
void
rebuild()
Rebuilds class list cache.
at line 152
rebuildCallback()
internal |
No description
at line 341
RobotLoader
setCacheStorage(IStorage $storage)
No description
at line 351
IStorage
getCacheStorage()
No description
at line 360
protected Cache
getCache()
No description
at line 373
protected string
getKey()
No description