ComponentReflection
final class ComponentReflection extends ReflectionClass
internal |
Helpers for Presenter & Component.
Methods
Returns array of class properties that are public and have attribute #[Persistent] or #[Parameter].
Returns array of persistent properties. They are public and have attribute #[Persistent].
Returns array of persistent components. They are tagged with class-level attribute
[Persistent] or annotation @persistent or returned by Presenter::getPersistentComponents().
Is a method callable? It means class is instantiable and method has public visibility, is non-static and non-abstract.
Returns action() or render() method if available
Returns handle*() method if available
No description
No description
No description
No description
Details
at line 33
array
getParameters()
Returns array of class properties that are public and have attribute #[Persistent] or #[Parameter].
at line 80
array
getPersistentParams()
Returns array of persistent properties. They are public and have attribute #[Persistent].
at line 91
array
getPersistentComponents()
Returns array of persistent components. They are tagged with class-level attribute
[Persistent] or annotation @persistent or returned by Presenter::getPersistentComponents().
at line 119
bool
hasCallableMethod(string $method)
Is a method callable? It means class is instantiable and method has public visibility, is non-static and non-abstract.
at line 129
ReflectionMethod|null
getActionRenderMethod(string $action)
Returns action() or render() method if available
at line 141
ReflectionMethod|null
getSignalMethod(string $signal)
Returns handle*() method if available
at line 150
static array|null
parseAnnotation(Reflector $ref, string $name)
No description
at line 178
bool
hasAnnotation(string $name)
No description
at line 185
mixed
getAnnotation(string $name)
No description
at line 193
MethodReflection
getMethod($name)
No description
at line 202
array
getMethods($filter = -1)
No description
at line 212
static array
combineArgs(ReflectionFunctionAbstract $method, array $args)
No description