| 1 | <?php |
||
| 20 | abstract class StaticClassNameConverter |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var ClassNameInflectorInterface|null |
||
| 24 | */ |
||
| 25 | private static $classNameInflector; |
||
| 26 | |||
| 27 | final private function __construct() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Gets the real class name of a class name that could be a proxy. |
||
| 33 | * |
||
| 34 | * @param string $class |
||
| 35 | * |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | public static function getRealClass($class) |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Gets the real class name of an object (even if its a proxy). |
||
| 48 | * |
||
| 49 | * @param object $object |
||
| 50 | * |
||
| 51 | * @return string |
||
| 52 | */ |
||
| 53 | public static function getClass($object) |
||
| 60 | } |
||
| 61 |