Create a new reflection object
Parameters
object:
Return value
\ReflectionObject
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Util/ClassUtils.php, line 87
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 newReflectionObject($object) {
return self::newReflectionClass(self::getClass($object));
}