Genisys  Genisys API 1.9.3
A server software for Minecraft: Pocket Edition with many features
WeakRef Class Reference

Public Member Functions

 __construct ($object=null)
 
 acquire ()
 
 get ()
 
 release ()
 
 valid ()
 

Detailed Description

WeakRef extension stub file for code completion purposes

WARNING: Do not include this file

Constructor & Destructor Documentation

__construct (   $object = null)

Constructs a new weak reference.

Parameters
object$object

Member Function Documentation

acquire ( )

Acquires a strong reference on that object, virtually turning the weak reference into a strong one.

Returns
bool
get ( )

Returns the object pointed to by the weak reference

Returns
object
release ( )

Releases a previously acquired reference, potentially turning a strong reference back into a weak reference.

Returns
bool
valid ( )

Checks whether the object referenced still exists

Returns
bool

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