ProxiedMethodsFilter
in package
Utility class used to filter methods that can be proxied
Table of Contents
- getAbstractProxiedMethods() : array<string|int, ReflectionMethod>
- getProxiedMethods() : array<string|int, ReflectionMethod>
- doFilter() : array<int, ReflectionMethod>
- methodCannotBeProxied() : bool
- Checks whether the method cannot be proxied
Methods
getAbstractProxiedMethods()
public
static getAbstractProxiedMethods(ReflectionClass $class[, array<int, string> $excluded = null ]) : array<string|int, ReflectionMethod>
Parameters
- $class : ReflectionClass
-
reflection class from which methods should be extracted
- $excluded : array<int, string> = null
-
methods to be ignored
Return values
array<string|int, ReflectionMethod> —getProxiedMethods()
public
static getProxiedMethods(ReflectionClass $class[, array<int, string> $excluded = null ]) : array<string|int, ReflectionMethod>
Parameters
- $class : ReflectionClass
-
reflection class from which methods should be extracted
- $excluded : array<int, string> = null
-
methods to be ignored
Return values
array<string|int, ReflectionMethod> —doFilter()
private
static doFilter(ReflectionClass $class, array<int, string> $excluded[, bool $requireAbstract = false ]) : array<int, ReflectionMethod>
Parameters
- $class : ReflectionClass
- $excluded : array<int, string>
- $requireAbstract : bool = false
Return values
array<int, ReflectionMethod> —methodCannotBeProxied()
Checks whether the method cannot be proxied
private
static methodCannotBeProxied(ReflectionMethod $method) : bool
Parameters
- $method : ReflectionMethod