Packages

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • NAutoLoader
  • NLimitedScope
  • NNetteLoader
  • NRobotLoader
  • Overview
  • Package
  • Class
  • Tree
  • Other releases

Class NRobotLoader

Nette auto loader is responsible for loading classes and interfaces.

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

Register autoloader.

Register autoloader.

public
# tryLoad( string $type )

Handles autoloading of classes or interfaces.

Handles autoloading of classes or interfaces.

Parameters

$type
string
public
# rebuild( )

Rebuilds class list cache.

Rebuilds class list cache.

public array
# getIndexedClasses( )

Returns

array
of class => filename
public
# addDirectory( string|array $path )

Add directory (or directories) to list.

Add directory (or directories) to list.

Parameters

$path
string|array

Throws

DirectoryNotFoundException
if path is not found
protected NCache
# getCache( )

Returns

NCache
protected string
# getKey( )

Returns

string
protected boolean
# isProduction( )

Returns

boolean
Methods inherited from NAutoLoader
getLoaders(), load(), unregister()
Methods inherited from NObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public array $scanDirs
#
public string $ignoreDirs '.*, *.old, *.bak, *.tmp, temp'
#

comma separated wildcards

comma separated wildcards

public string $acceptFiles '*.php, *.php5'
#

comma separated wildcards

comma separated wildcards

public boolean $autoRebuild
#
Properties inherited from NAutoLoader
$count
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0