Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationDI
      • ApplicationLatte
      • ApplicationTracy
      • CacheDI
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsDI
      • FormsLatte
      • Framework
      • HttpDI
      • HttpTracy
      • MailDI
      • ReflectionDI
      • SecurityDI
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Conventions
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Utils
  • none
  • Tracy
    • Bridges
      • Nette

Classes

  • NetteLoader
  • RobotLoader
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class RobotLoader

Nette auto loader is responsible for loading classes and interfaces.

Nette\Object
Extended by Nette\Loaders\RobotLoader
Namespace: Nette\Loaders
Located at RobotLoader/RobotLoader.php
Methods summary
public
# __construct( )
public Nette\Loaders\RobotLoader
# register( boolean $prepend = FALSE )

Register autoloader.

Register autoloader.

Parameters

$prepend
autoloader?

Returns

Nette\Loaders\RobotLoader
self
public
# tryLoad( string $type )

Handles autoloading of classes, interfaces or traits.

Handles autoloading of classes, interfaces or traits.

Parameters

$type
public Nette\Loaders\RobotLoader
# addDirectory( string|string[] $path )

Add path or paths to list.

Add path or paths to list.

Parameters

$path
path

Returns

Nette\Loaders\RobotLoader
self
public array
# getIndexedClasses( )

Returns

array
of class => filename
public
# rebuild( )

Rebuilds class list cache.

Rebuilds class list cache.

public Nette\Loaders\RobotLoader
# setCacheStorage( Nette\Caching\IStorage $storage )

Returns

Nette\Loaders\RobotLoader
RobotLoader
public Nette\Caching\IStorage
# getCacheStorage( )

Returns

Nette\Caching\IStorage
Nette\Caching\IStorage
protected Nette\Caching\Cache
# getCache( )

Returns

Nette\Caching\Cache
Nette\Caching\Cache
protected string
# getKey( )

Returns

string
string
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants summary
integer RETRY_LIMIT
#3
Properties summary
public string|array $ignoreDirs

comma separated wildcards

comma separated wildcards

#'.*, *.old, *.bak, *.tmp, temp'
public string|array $acceptFiles

comma separated wildcards

comma separated wildcards

#'*.php, *.php5'
public boolean $autoRebuild
#TRUE
Magic properties inherited from Nette\Object
$reflection
Nette 2.3-20161221 API API documentation generated by ApiGen 2.8.0