Total Complexity | 5 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class DoctrineHelper |
||
8 | { |
||
9 | /** |
||
10 | * Gets the real class name of a class name that could be a proxy. |
||
11 | * |
||
12 | * @param object|string $class |
||
13 | * |
||
14 | * @return string |
||
15 | * |
||
16 | * credits |
||
17 | * https://github.com/api-platform/core/blob/master/src/Util/ClassInfoTrait.php |
||
18 | */ |
||
19 | public static function getRealClassName($class): string |
||
43 |