Packages

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • none

Classes

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class RobotLoader

Nette auto loader is responsible for loading classes and interfaces.

Object
Extended by AutoLoader
Extended by RobotLoader
Package: Nette\Loaders
Author: David Grudl
Located at Loaders/RobotLoader.php
Methods summary
public
# __construct( )
public RobotLoader
# register( )

Register autoloader.

Register autoloader.

Returns

RobotLoader

Overrides

AutoLoader::register()
public
# tryLoad( string $type )

Handles autoloading of classes, interfaces or traits.

Handles autoloading of classes, interfaces or traits.

Parameters

$type
string
public RobotLoader
# addDirectory( string|array $path )

Add directory (or directories) to list.

Add directory (or directories) to list.

Parameters

$path
string|array

Returns

RobotLoader

Throws

DirectoryNotFoundException
if path is not found
public array
# getIndexedClasses( )

Returns

array
of class => filename
public
# rebuild( )

Rebuilds class list cache.

Rebuilds class list cache.

public RobotLoader
# setCacheStorage( ICacheStorage $storage )

Returns

RobotLoader
public ICacheStorage
# getCacheStorage( )

Returns

ICacheStorage
protected Cache
# getCache( )

Returns

Cache
protected string
# getKey( )

Returns

string
Methods inherited from AutoLoader
getLoaders(), load(), unregister()
Methods inherited from Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants summary
integer RETRY_LIMIT 3
#
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
#
Properties inherited from AutoLoader
$count
Magic properties summary
public ICacheStorage $cacheStorage
#
public read-only array $indexedClasses
#
Magic properties inherited from Object
$reflection
Nette Framework 2.0.18 (for PHP 5.2, un-prefixed) API documentation generated by ApiGen 2.8.0