1 | <?php |
||
11 | final class ClassNameResolver |
||
12 | { |
||
13 | /** @var ClassNameInflectorInterface|null */ |
||
14 | private static $classNameInflector; |
||
15 | |||
16 | private function __construct() |
||
19 | |||
20 | /** |
||
21 | * Gets the real class name of a class name that could be a proxy. |
||
22 | */ |
||
23 | 1433 | public static function getRealClass(string $class) : string |
|
27 | |||
28 | /** |
||
29 | * Gets the real class name of an object (even if its a proxy). |
||
30 | */ |
||
31 | public static function getClass(object $object) : string |
||
35 | |||
36 | 1433 | private static function getClassNameInflector() : ClassNameInflectorInterface |
|
41 | } |
||
42 |