Documentation

AccessInterceptorValueHolderInterface extends AccessInterceptorInterface, ValueHolderInterface

Aggregates AccessInterceptor and ValueHolderInterface, mostly for return type hinting

Tags
psalm-template

InterceptedObjectType of object

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
psalm-return

InterceptedObjectType|null

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
psalm-param

null|Closure( InterceptedObjectType&AccessInterceptorInterface=, InterceptedObjectType=, string=, array<string, mixed>=, bool= ) : mixed $prefixInterceptor

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

Tags
psalm-param

null|Closure( InterceptedObjectType&AccessInterceptorInterface=, InterceptedObjectType=, string=, array<string, mixed>=, mixed=, bool= ) : mixed $suffixInterceptor


        
On this page

Search results