mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-26 13:19:55 +00:00
MemoryManager: remove useless information from object dumps
This commit is contained in:
parent
d9c3ec5f91
commit
e199f403dc
@ -406,14 +406,6 @@ class MemoryManager{
|
|||||||
"properties" => []
|
"properties" => []
|
||||||
];
|
];
|
||||||
|
|
||||||
if(($parent = $reflection->getParentClass()) !== false){
|
|
||||||
$info["parent"] = $parent->getName();
|
|
||||||
}
|
|
||||||
|
|
||||||
if(count($reflection->getInterfaceNames()) > 0){
|
|
||||||
$info["implements"] = implode(", ", $reflection->getInterfaceNames());
|
|
||||||
}
|
|
||||||
|
|
||||||
for($original = $reflection; $reflection !== false; $reflection = $reflection->getParentClass()){
|
for($original = $reflection; $reflection !== false; $reflection = $reflection->getParentClass()){
|
||||||
foreach($reflection->getProperties() as $property){
|
foreach($reflection->getProperties() as $property){
|
||||||
if($property->isStatic()){
|
if($property->isStatic()){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user