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