MemoryManager: remove useless information from object dumps

This commit is contained in:
Dylan K. Taylor 2020-07-13 11:08:03 +01:00
parent d9c3ec5f91
commit e199f403dc

View File

@ -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()){