Skip to content

CloningRegistryTrait ​

trait · pocketmine\utils\CloningRegistryTrait · source

Deprecated

Superseded by RegistrySource

This trait offers the same functionality as RegistryTrait, but also clones any returned objects to prevent outside modification.

Methods ​

preprocessMember() protected ​

php
protected static function preprocessMember(object $member) : object

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