public static function ClassUtils::newReflectionClass

Create a new reflection class

Parameters

string:

Return value

\ReflectionClass

2 calls to ClassUtils::newReflectionClass()

File

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

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