Skip to content

BanEntry ​

class · pocketmine\permission\BanEntry · source

Properties ​

$format ​

php
public static string $format

Methods ​

__construct() ​

php
public function __construct(string $name)

fromString() ​

php
public static function fromString(string $str) : ?\pocketmine\permission\BanEntry

getCreated() ​

php
public function getCreated() : \DateTime

getExpires() ​

php
public function getExpires() : ?\DateTime

getName() ​

php
public function getName() : string

getReason() ​

php
public function getReason() : string

getSource() ​

php
public function getSource() : string

getString() ​

php
public function getString() : string

hasExpired() ​

php
public function hasExpired() : bool

setCreated() ​

php
public function setCreated(\DateTime $date) : void

setExpires() ​

php
public function setExpires(?\DateTime $date) : void

setReason() ​

php
public function setReason(string $reason) : void

setSource() ​

php
public function setSource(string $source) : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.