public static function ClassUtils::newReflectionObject in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Util/ClassUtils.php \Doctrine\Common\Util\ClassUtils::newReflectionObject()
Creates a new reflection object.
Parameters
object $object:
Return value
\ReflectionObject
2 calls to ClassUtils::newReflectionObject()
- ClassUtilsTest::testNewReflectionObject 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 92
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 newReflectionObject($object) {
return self::newReflectionClass(self::getClass($object));
}