public static function ClassUtils::getClass

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

Parameters

object:

Return value

string

3 calls to ClassUtils::getClass()
ClassUtils::newReflectionObject in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Util/ClassUtils.php
Create a new reflection object
ClassUtilsTest::testGetClass in drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Util/ClassUtilsTest.php
@dataProvider dataGetClass
Debug::export in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Util/Debug.php
Export

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Util/ClassUtils.php, line 54

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));
}