RobotLoader
class RobotLoader
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
setAutoRefresh($on = true)
Sets auto-refresh mode.
setTempDirectory($dir)
Sets path to temporary directory.
setCacheStorage(IStorage $storage)
No description
IStorage
getCacheStorage()
No description
Cache
getCache()
No description
array
getKey()
No description
Details
at line 49
__construct()
No description
at line 62
RobotLoader
register($prepend = false)
Register autoloader.
at line 75
void
tryLoad($type)
Handles autoloading of classes, interfaces or traits.
at line 118
RobotLoader
addDirectory($path)
Add path or paths to list.
at line 128
array
getIndexedClasses()
No description
at line 144
void
rebuild()
Rebuilds class list cache.
at line 157
rebuildCallback()
internal |
No description
at line 346
RobotLoader
setAutoRefresh($on = true)
Sets auto-refresh mode.
at line 357
RobotLoader
setTempDirectory($dir)
Sets path to temporary directory.
at line 372
RobotLoader
setCacheStorage(IStorage $storage)
No description
at line 382
IStorage
getCacheStorage()
No description
at line 391
protected Cache
getCache()
No description
at line 404
protected array
getKey()
No description
Traits
SmartObject