public static function ClassUtils::newReflectionClass in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/Util/ClassUtils.php \Doctrine\Common\Util\ClassUtils::newReflectionClass()
Creates a new reflection class.
Parameters
string $class:
Return value
\ReflectionClass
2 calls to ClassUtils::newReflectionClass()
- ClassUtils::newReflectionObject in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Util/ ClassUtils.php - Creates a new reflection object.
- ClassUtilsTest::testNewReflectionClass in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Util/ ClassUtilsTest.php - @dataProvider dataGetClass
File
- vendor/
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\UtilCode
public static function newReflectionClass($class) {
return new \ReflectionClass(self::getRealClass($class));
}