PocketMine
BanEntry Class Reference

Public Member Functions

 __construct ($name)
 
 getName ()
 
 getCreated ()
 
 setCreated (\DateTime $date)
 
 getSource ()
 
 setSource ($source)
 
 getExpires ()
 
 setExpires ($date)
 
 hasExpired ()
 
 getReason ()
 
 setReason ($reason)
 
 getString ()
 

Static Public Member Functions

static fromString ($str)
 

Static Public Attributes

static $format = "Y-m-d H:i:s O"
 

Member Function Documentation

static fromString (   $str)
static
Parameters
string$str
Returns
BanEntry
setExpires (   $date)
Parameters
\DateTime$date

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