ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Utils.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the Monolog package.
5  *
6  * (c) Jordi Boggiano <j.boggiano@seld.be>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
12 namespace Monolog;
13 
14 class Utils
15 {
19  public static function getClass($object)
20  {
21  $class = \get_class($object);
22 
23  return 'c' === $class[0] && 0 === strpos($class, "class@anonymous\0") ? get_parent_class($class).'@anonymous' : $class;
24  }
25 }
static getClass($object)
Definition: Utils.php:19