public static function ClassUtils::newReflectionObject in Plug 7
Creates a new reflection object.
Parameters
object $object:
Return value
\ReflectionObject
2 calls to ClassUtils::newReflectionObject()
- ClassUtilsTest::testNewReflectionObject in lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Util/ ClassUtilsTest.php - @dataProvider dataGetClass
- Debug::export in lib/
doctrine/ common/ lib/ Doctrine/ Common/ Util/ Debug.php
File
- lib/
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));
}