Class NetteLoader (namespace Nette\Loaders)


Nette auto loader is responsible for loading Nette classes and interfaces.

Object
   |
   --AutoLoader
      |
      --NetteLoader
Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Loaders/NetteLoader.php (line 34)
Public Method Summary
static NetteLoader
Returns singleton instance with lazy instantiation.
void
tryLoad (string $type)
Handles autoloading of classes or interfaces.
Methods Inherited From AutoLoader
getLoaders(), load(), register(), tryLoad(), unregister()
Methods Inherited From Object
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset()
Variable Summary
string $base

line 40

base file path
static NetteLoader $instance

line 37

array $list array( 'abortexception' => '/Application/AbortException.php', 'ajaxdriver' =>...

line 43


Method Details

line 203

getInstance

public static NetteLoader getInstance ()

Returns singleton instance with lazy instantiation.

Output
NetteLoader  

line 218

tryLoad

public void tryLoad (string $type)

Handles autoloading of classes or interfaces.

Input
string $type
Output
void