Doctrine\Common\Util\ClassUtils
Class and reflection related functionality for objects that might or not be proxy objects at the moment.
- Author: Benjamin Eberlei <kontakt@beberlei.de>
Synopsis
class ClassUtils
{
- // methods
- public static string getRealClass()
- public static string getClass()
- public static string getParentClass()
- public static ReflectionClass newReflectionClass()
- public static ReflectionObject newReflectionObject()
- public static string generateProxyClassName()
Methods
public
- generateProxyClassName() — Given a class name and a proxy namespace return the proxy name.
- getClass() — Get the real class name of an object (even if its a proxy)
- getParentClass() — Get the real parent class name of a class or object
- getRealClass() — Get the real class name of a class name that could be a proxy.
- newReflectionClass() — Create a new reflection class
- newReflectionObject() — Create a new reflection object