Skip to content

Commit

Permalink
Remove getClass func from Registry as it was moved to Utils class
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Nov 4, 2018
1 parent 24dafde commit ceebd56
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/Monolog/Registry.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,4 @@ public static function __callStatic($name, $arguments)
{
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;
}
}

0 comments on commit ceebd56

Please sign in to comment.