\triagens\ArangoDbAutoloader

Handles automatic loading of missing class files.

The autoloader can be nested with other autoloaders. It will only process classes from its own namespace and ignore all others.

Summary

Methods
Properties
Constants
init()
load()
No public properties found
EXTENSION
No protected methods found
No protected properties found
N/A
checkEnvironment()
$libDir
N/A

Constants

EXTENSION

EXTENSION

Class file extension

Properties

$libDir

$libDir : string

Directory with library files

Type

string

Methods

init()

init() : void

Initialise the autoloader

Throws

\triagens\ArangoDb\Exception

load()

load(string $className) : void

Handle loading of an unknown class

This will only handle class from its own namespace and ignore all others.

This allows multiple autoloaders to be used in a nested fashion.

Parameters

string $className
  • name of class to be loaded

checkEnvironment()

checkEnvironment() : void

Check the runtime environment

This will check whether the runtime environment is compatible with the Arango PHP client.

Throws

\triagens\ArangoDb\ClientException