Class NRobotLoader
Nette auto loader is responsible for loading classes and interfaces.
-
NObject
-
NAutoLoader
-
NRobotLoader
Methods summary
public
|
|
public
NRobotLoader
|
#
register( )
Register autoloader.
Returns
Overrides
|
public
|
#
tryLoad( string $type )
Handles autoloading of classes, interfaces or traits.
Handles autoloading of classes, interfaces or traits.
Parameters
|
public
NRobotLoader
|
#
addDirectory( string|array $path )
Add directory (or directories) to list.
Add directory (or directories) to list.
Parameters
Returns
Throws
|
public
array
|
|
public
|
#
rebuild( )
Rebuilds class list cache.
Rebuilds class list cache.
|
public
NRobotLoader
|
|
public
ICacheStorage
|
|
protected
NCache
|
|
protected
string
|
|
Properties summary
public
array
|
$scanDirs
|
array() |
|
public
string|array
|
$ignoreDirs
|
'.*, *.old, *.bak, *.tmp, temp' |
#
comma separated wildcards
comma separated wildcards
|
public
string|array
|
$acceptFiles
|
'*.php, *.php5' |
#
comma separated wildcards
comma separated wildcards
|
public
boolean
|
$autoRebuild
|
TRUE |
|