Class RobotLoader
Nette auto loader is responsible for loading classes and interfaces.
-
Object
-
AutoLoader
-
RobotLoader
Methods summary
public
|
|
public
RobotLoader
|
#
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
RobotLoader
|
#
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
RobotLoader
|
|
public
ICacheStorage
|
|
protected
Cache
|
|
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 |
|