trait MethodAwareAccessorsTrait

Class MethodAwareAccessorsTrait.

Methods

resolver()

No description

bool
hasMethod( string $name)

No description

getMethod( string $name)

No description

methods( null|int $mask = null)

No description

publicMethods()

No description

privateMethods()

No description

sortMethods( Closure $sort, null|int $mask = null, mixed $extra)

No description

visitMethods( Closure $visit, null|int $mask = null, mixed $extra)

No description

filterMethods( Closure $predicate, null|int $mask = null, mixed $extra)

No description

filterOneMethod( Closure $predicate, null|int $mask = null, mixed $extra)

No description

matchMethods( mixed $match, string $func = '__toString', null|int $mask = null)

No description

matchOneMethod( mixed $match, string $func = '__toString', null|int $mask = null)

No description

Details

at line line 27
abstract ReflectionClass|ReflectionObject reflection()

at line line 32
abstract ResolverInterface resolver()

Return Value

ResolverInterface

at line line 39
bool hasMethod( string $name)

Parameters

string $name

Return Value

bool

at line line 51
MethodIntrospection getMethod( string $name)

Parameters

string $name

Return Value

MethodIntrospection

Exceptions

InvalidArgumentException

at line line 65
MethodIntrospection[] methods( null|int $mask = null)

Parameters

null|int $mask

Return Value

MethodIntrospection[]

at line line 80
MethodIntrospection[] publicMethods()

Return Value

MethodIntrospection[]

at line line 88
MethodIntrospection[] protectedMethods()

Return Value

MethodIntrospection[]

at line line 96
MethodIntrospection[] privateMethods()

Return Value

MethodIntrospection[]

at line line 108
MethodIntrospection[] sortMethods( Closure $sort, null|int $mask = null, mixed $extra)

Parameters

Closure $sort
null|int $mask
mixed $extra

Return Value

MethodIntrospection[]

at line line 120
MethodIntrospection[]|mixed[] visitMethods( Closure $visit, null|int $mask = null, mixed $extra)

Parameters

Closure $visit
null|int $mask
mixed $extra

Return Value

MethodIntrospection[]|mixed[]

at line line 132
MethodIntrospection[] filterMethods( Closure $predicate, null|int $mask = null, mixed $extra)

Parameters

Closure $predicate
null|int $mask
mixed $extra

Return Value

MethodIntrospection[]

at line line 144
MethodIntrospection|null filterOneMethod( Closure $predicate, null|int $mask = null, mixed $extra)

Parameters

Closure $predicate
null|int $mask
mixed $extra

Return Value

MethodIntrospection|null

at line line 156
MethodIntrospection[] matchMethods( mixed $match, string $func = '__toString', null|int $mask = null)

Parameters

mixed $match
string $func
null|int $mask

Return Value

MethodIntrospection[]

at line line 168
null|MethodIntrospection matchOneMethod( mixed $match, string $func = '__toString', null|int $mask = null)

Parameters

mixed $match
string $func
null|int $mask

Return Value

null|MethodIntrospection