|
PocketMine-MP 5.37.2 git-aa47b7cd412ddb171ec53c035c2bbe84199be285
|
Classes | |
| class | AssumptionFailedError |
| class | Binary |
| class | BinaryDataException |
| class | BinaryStream |
| class | BroadcastLoggerForwarder |
| class | Config |
| class | ConfigLoadException |
| class | Filesystem |
| class | Git |
| class | Internet |
| class | InternetException |
| class | InternetRequestResult |
| class | Limits |
| class | MainLogger |
| class | MainLoggerThread |
| class | ObjectSet |
| class | Process |
| class | Random |
| class | ReversePriorityQueue |
| class | ServerException |
| class | ServerKiller |
| class | SignalHandler |
| class | StringToTParser |
| class | Terminal |
| class | TextFormat |
| class | Timezone |
| class | Utils |
| class | VersionString |
Functions | |
| static | __callStatic (string $name, array $arguments) |
| static | checkInit () |
| getDestructorCallbacks () | |
| static | getInstance () |
| static | preprocessMember (object $member) |
| static | preprocessMember (object $member) |
| static | reset () |
| static | setInstance (self $instance) |
| static | setup () |
Variables | |
| trait | CloningRegistryTrait |
| trait | DestructorCallbackTrait |
| trait | RegistryTrait |
| trait | SingletonTrait |
Various Utilities used around the code
Methods for working with binary strings
| pocketmine\utils\__destruct | ( | ) |
Definition at line 43 of file DestructorCallbackTrait.php.
|
static |
| mixed[] | $arguments | @phpstan-param list<mixed> $arguments |
Definition at line 110 of file RegistryTrait.php.
|
staticprotected |
Definition at line 80 of file RegistryTrait.php.
| pocketmine\utils\getDestructorCallbacks | ( | ) |
@phpstan-return ObjectSet<\Closure() : void>
Definition at line 39 of file DestructorCallbackTrait.php.
|
static |
Definition at line 34 of file SingletonTrait.php.
|
staticprotected |
Definition at line 33 of file CloningRegistryTrait.php.
|
staticprotected |
Definition at line 102 of file RegistryTrait.php.
|
static |
Definition at line 45 of file SingletonTrait.php.
|
static |
Definition at line 41 of file SingletonTrait.php.
|
staticabstractprotected |
Inserts default entries into the registry.
(This ought to be private, but traits suck too much for that.)
References pocketmine\utils\setup().
Referenced by pocketmine\utils\setup().
Here is the call graph for this function:
Here is the caller graph for this function:| trait pocketmine::utils\CloningRegistryTrait |
This trait offers the same functionality as RegistryTrait, but also clones any returned objects to prevent outside modification.
Definition at line 30 of file CloningRegistryTrait.php.
| trait pocketmine::utils\DestructorCallbackTrait |
This trait provides destructor callback functionality to objects which use it. This enables a weakmap-like system to function without actually having weak maps. TODO: remove this in PHP 8
Definition at line 31 of file DestructorCallbackTrait.php.
| trait pocketmine::utils\RegistryTrait |
This trait allows a class to simulate object class constants, since PHP doesn't currently support this. These faux constants are exposed in static class methods, which are handled using __callStatic().
Classes using this trait need to include @method tags in their class docblock for every faux constant. Alternatively, just put @generate-registry-docblock in the docblock and run build/generate-registry-annotations.php
Definition at line 38 of file RegistryTrait.php.
| trait pocketmine::utils\SingletonTrait |
Definition at line 26 of file SingletonTrait.php.