Doctrine\Common\Persistence\Mapping\RuntimeReflectionService
PHP Runtime Reflection Service
- Author: Benjamin Eberlei <kontakt@beberlei.de>
Synopsis
class RuntimeReflectionService
implements
ReflectionService
{
- // methods
- public array getParentClasses()
- public string getClassShortName()
- public string getClassNamespace()
- public ReflectionClass|null getClass()
- public ReflectionProperty|null getAccessibleProperty()
- public bool hasPublicMethod()
Hierarchy
Methods
public
- getAccessibleProperty() — Return an accessible property (setAccessible(true)) or null.
- getClass() — Return a reflection class instance or null
- getClassNamespace()
- getClassShortName() — Return the shortname of a class.
- getParentClasses() — Return an array of the parent classes (not interfaces) for the given class.
- hasPublicMethod() — Check if the class have a public method with the given name.