Genisys  Genisys API 1.9.3
A server software for Minecraft: Pocket Edition with many features
ClassLoader Interface Reference
Inheritance diagram for ClassLoader:
[legend]

Public Member Functions

 __construct (ClassLoader $parent=null)
 
 addPath ($path, $prepend=false)
 
 removePath ($path)
 
 getClasses ()
 
 getParent ()
 
 register ($prepend=false)
 
 loadClass ($name)
 
 findClass ($name)
 

Constructor & Destructor Documentation

__construct ( ClassLoader  $parent = null)
Parameters
ClassLoader$parent

Implemented in BaseClassLoader.

Member Function Documentation

addPath (   $path,
  $prepend = false 
)

Adds a path to the lookup list

Parameters
string$path
bool$prepend

Implemented in BaseClassLoader.

findClass (   $name)

Returns the path for the class, if any

Parameters
string$name
Returns
string|null

Implemented in BaseClassLoader.

getClasses ( )

Returns an array of the classes loaded

Returns
string[]

Implemented in BaseClassLoader.

getParent ( )

Returns the parent ClassLoader, if any

Returns
ClassLoader

Implemented in BaseClassLoader.

loadClass (   $name)

Called when there is a class to load

Parameters
string$name
Returns
bool
Exceptions
ClassNotFoundException

Implemented in BaseClassLoader.

register (   $prepend = false)

Attaches the ClassLoader to the PHP runtime

Parameters
bool$prepend
Returns
bool

Implemented in BaseClassLoader.

removePath (   $path)

Removes a path from the lookup list

Parameters
$path

Implemented in BaseClassLoader.


The documentation for this interface was generated from the following file: