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:
@@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user