You are here

public static function ClassUtils::newReflectionClass in Plug 7

Creates a new reflection class.

Parameters

string $class:

Return value

\ReflectionClass

2 calls to ClassUtils::newReflectionClass()
ClassUtils::newReflectionObject in lib/doctrine/common/lib/Doctrine/Common/Util/ClassUtils.php
Creates a new reflection object.
ClassUtilsTest::testNewReflectionClass in lib/doctrine/common/tests/Doctrine/Tests/Common/Util/ClassUtilsTest.php
@dataProvider dataGetClass

File

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

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 newReflectionClass($class) {
  return new \ReflectionClass(self::getRealClass($class));
}