1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 04:37:38 +02:00

Remove getClass func from Registry as it was moved to Utils class

This commit is contained in:
Jordi Boggiano
2018-11-04 18:41:02 +01:00
parent 24dafdeb8e
commit ceebd568a2

View File

@@ -131,14 +131,4 @@ class Registry
{ {
return self::getInstance($name); return self::getInstance($name);
} }
/**
* @internal
*/
public function getClass($object)
{
$class = \get_class($object);
return 'c' === $class[0] && 0 === strpos($class, "class@anonymous\0") ? get_parent_class($class).'@anonymous' : $class;
}
} }