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 | ||
IStorage | $cacheStorage | ||
array read-only | $indexedClasses |
Methods
__construct()
No description
register($prepend = FALSE)
Register autoloader.
void
tryLoad($type)
Handles autoloading of classes, interfaces or traits.
addDirectory($path)
Add directory (or directories) 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 51
__construct()
No description
at line 64
RobotLoader
register($prepend = FALSE)
Register autoloader.
at line 77
void
tryLoad($type)
Handles autoloading of classes, interfaces or traits.
at line 117
RobotLoader
addDirectory($path)
Add directory (or directories) to list.
at line 133
array
getIndexedClasses()
No description
at line 149
void
rebuild()
Rebuilds class list cache.
at line 159
_rebuildCallback()
internal |
No description
at line 346
RobotLoader
setCacheStorage(IStorage $storage)
No description
at line 356
IStorage
getCacheStorage()
No description
at line 365
protected Cache
getCache()
No description
at line 378
protected string
getKey()
No description