You are here

public static function ClassUtils::getClass in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/lib/Doctrine/Common/Util/ClassUtils.php \Doctrine\Common\Util\ClassUtils::getClass()

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 vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php
Reset initialization/cloning logic for an un-initialized proxy
ClassUtils::newReflectionObject in vendor/doctrine/common/lib/Doctrine/Common/Util/ClassUtils.php
Creates a new reflection object.
ClassUtilsTest::testGetClass in vendor/doctrine/common/tests/Doctrine/Tests/Common/Util/ClassUtilsTest.php
@dataProvider dataGetClass
Debug::export in vendor/doctrine/common/lib/Doctrine/Common/Util/Debug.php

File

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