Namespaces

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

Classes

  • AutoLoader
  • LimitedScope
  • NetteLoader
  • RobotLoader
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

Class RobotLoader

Nette auto loader is responsible for loading classes and interfaces.

Nette\Object
Extended by Nette\Loaders\AutoLoader
Extended by Nette\Loaders\RobotLoader
Namespace: 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 Nette\Caching\Cache
# getCache( )

Returns

Nette\Caching\Cache
protected string
# getKey( )

Returns

string
protected boolean
# isProduction( )

Returns

boolean
Methods inherited from Nette\Loaders\AutoLoader
getLoaders(), load(), unregister()
Methods inherited from Nette\Object
__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 Nette\Loaders\AutoLoader
$count
Nette Framework 0.9.7 API documentation generated by ApiGen 2.3.0