AccessInterceptorValueHolderInterface
extends
AccessInterceptorInterface, ValueHolderInterface
in
Aggregates AccessInterceptor and ValueHolderInterface, mostly for return type hinting
Tags
Table of Contents
Methods
- getWrappedValueHolderValue() : object|null
- setMethodPrefixInterceptor() : void
- Set or remove the prefix interceptor for a method
- setMethodSuffixInterceptor() : void
- Set or remove the suffix interceptor for a method
Methods
getWrappedValueHolderValue()
public
getWrappedValueHolderValue() : object|null
Definitions are duplicated here to allow templated definitions in this child type
Tags
Return values
object|null —the wrapped value
setMethodPrefixInterceptor()
Set or remove the prefix interceptor for a method
public
setMethodPrefixInterceptor(string $methodName[, Closure|null $prefixInterceptor = null ]) : void
Definitions are duplicated here to allow templated definitions in this child type
Parameters
- $methodName : string
-
name of the intercepted method
- $prefixInterceptor : Closure|null = null
-
interceptor closure or null to unset the currently active interceptor
Tags
setMethodSuffixInterceptor()
Set or remove the suffix interceptor for a method
public
setMethodSuffixInterceptor(string $methodName[, Closure|null $suffixInterceptor = null ]) : void
Definitions are duplicated here to allow templated definitions in this child type
Parameters
- $methodName : string
-
name of the intercepted method
- $suffixInterceptor : Closure|null = null
-
interceptor closure or null to unset the currently active interceptor