|
PocketMine-MP 5.39.1 git-1be3f83620f013523bb4d35535c6c0f842b54a6a
|
Classes | |
| class | AssumptionFailedError |
| class | Binary |
| class | BinaryDataException |
| class | BinaryStream |
| class | BroadcastLoggerForwarder |
| class | CloningRegistrySource |
| 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 | RegistrySource |
| 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 112 of file RegistryTrait.php.
|
staticprotected |
Definition at line 82 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 36 of file CloningRegistryTrait.php.
|
staticprotected |
Definition at line 104 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.
RegistrySource Definition at line 33 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 |
RegistrySourceThis 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/codegen/registry-annotations.php
Definition at line 40 of file RegistryTrait.php.
| trait pocketmine::utils\SingletonTrait |
Definition at line 26 of file SingletonTrait.php.