You are here

public static function ClassUtils::getClass in Plug 7

Gets the real class name of an object (even if its a proxy).

Parameters

object $object:

Return value

string

4 calls to ClassUtils::getClass()
AbstractProxyFactory::resetUninitializedProxy in lib/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php
Reset initialization/cloning logic for an un-initialized proxy
ClassUtils::newReflectionObject in lib/doctrine/common/lib/Doctrine/Common/Util/ClassUtils.php
Creates a new reflection object.
ClassUtilsTest::testGetClass in lib/doctrine/common/tests/Doctrine/Tests/Common/Util/ClassUtilsTest.php
@dataProvider dataGetClass
Debug::export in lib/doctrine/common/lib/Doctrine/Common/Util/Debug.php

File

lib/doctrine/common/lib/Doctrine/Common/Util/ClassUtils.php, line 56

Class

ClassUtils
Class and reflection related functionality for objects that might or not be proxy objects at the moment.

Namespace

Doctrine\Common\Util

Code

public static function getClass($object) {
  return self::getRealClass(get_class($object));
}