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

Public Member Functions

 __construct (ClassLoader $parent=null)
 
 addPath ($path, $prepend=false)
 
 removePath ($path)
 
 getClasses ()
 
 getParent ()
 
 register ($prepend=false)
 
 loadClass ($name)
 
 findClass ($name)
 
- Public Member Functions inherited from Threaded
 chunk ($size, bool $preserve=false)
 
 count ()
 
 isRunning ()
 
 isTerminated ()
 
 merge ($from, $overwrite=true)
 
 notify ()
 
 notifyOne ()
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetExists ($offset)
 
 offsetUnset ($offset)
 
 pop ()
 
 run ()
 
 shift ()
 
 synchronized (\Closure $function, $args=null)
 
 wait ($timeout)
 
 getRefCount ()
 
 addRef ()
 
 delRef ()
 
 isGarbage ()
 

Protected Member Functions

 getAndRemoveLookupEntries ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Threaded
static extend ($obj)
 

Constructor & Destructor Documentation

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

Implements ClassLoader.

Member Function Documentation

addPath (   $path,
  $prepend = false 
)

Adds a path to the lookup list

Parameters
string$path
bool$prepend

Implements ClassLoader.

findClass (   $name)

Returns the path for the class, if any

Parameters
string$name
Returns
string|null

Implements ClassLoader.

getClasses ( )

Returns an array of the classes loaded

Returns
string[]

Implements ClassLoader.

getParent ( )

Returns the parent ClassLoader, if any

Returns
ClassLoader

Implements ClassLoader.

loadClass (   $name)

Called when there is a class to load

Parameters
string$name
Returns
bool

Implements ClassLoader.

register (   $prepend = false)

Attaches the ClassLoader to the PHP runtime

Parameters
bool$prepend
Returns
bool

Implements ClassLoader.

removePath (   $path)

Removes a path from the lookup list

Parameters
$path

Implements ClassLoader.


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