Class NNetteLoader


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

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

line 39

base file path
static NNetteLoader $instance

line 36

array $list array( 'argumentoutofrangeexception' => '/exceptions.php', 'deprecatedexception' =>...

line 42


Method Details

line 211

getInstance

public static NNetteLoader getInstance ()

Returns singleton instance with lazy instantiation.

Output
NNetteLoader  

line 226

tryLoad

public void tryLoad (string $type)

Handles autoloading of classes or interfaces.

Input
string $type
Output
void