AopProxyAwareTrait
trait AopProxyAwareTrait
Class AopProxyAwareTrait - AOP 切面编程
Properties
array | $proxyMap | 要经过AOP代理的方法配置 e.g: [ 'XyzClass::methodBefore' => [handler0, handler1], 'XyzClass::methodAfter' => [handler2, handler3], ] |
Methods
proxy($class, $method = null, array $args = [])
No description
mixed
call(string $method, array $args = [])
No description
mixed
__call(string $method, array $args = [])
No description
$this|mixed
__invoke(array ...$args)
No description
null|array
findProxyCallback($target, string $method, string $prefix = 'before')
No description
$this
register($key, $handler, string $position = 'before')
No description
$this
addProxy(string $key, callable $handler, string $position = 'before')
No description
$this
addProxies(array $map)
No description
static array
getProxyPoints()
No description
mixed
getProxyTarget()
No description
array
getProxyMap()
No description
setProxyMap(array $proxyMap)
No description