trait PropertyAwareAccessorsTrait

Class PropertyAwareAccessorsTrait.

Methods

reflection()

No description

resolver()

No description

bool
hasProperty( string $name)

No description

getProperty( string $name)

No description

properties( null|int $mask = null)

No description

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

No description

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

No description

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

No description

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

No description

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

No description

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

No description

Details

at line line 27
abstract ReflectionClass reflection()

Return Value

ReflectionClass

at line line 32
abstract ResolverInterface resolver()

Return Value

ResolverInterface

at line line 39
bool hasProperty( string $name)

Parameters

string $name

Return Value

bool

at line line 51
PropertyIntrospection getProperty( string $name)

Parameters

string $name

Return Value

PropertyIntrospection

Exceptions

InvalidArgumentException

at line line 65
PropertyIntrospection[] properties( null|int $mask = null)

Parameters

null|int $mask

Return Value

PropertyIntrospection[]

at line line 80
PropertyIntrospection[] publicProperties()

Return Value

PropertyIntrospection[]

at line line 88
PropertyIntrospection[] protectedProperties()

Return Value

PropertyIntrospection[]

at line line 96
PropertyIntrospection[] privateProperties()

Return Value

PropertyIntrospection[]

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

Parameters

Closure $sort
null|int $mask
mixed $extra

Return Value

PropertyIntrospection[]

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

Parameters

Closure $visit
null|int $mask
mixed $extra

Return Value

PropertyIntrospection[]|mixed[]

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

Parameters

Closure $predicate
null|int $mask
mixed $extra

Return Value

PropertyIntrospection[]

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

Parameters

Closure $predicate
null|int $mask
mixed $extra

Return Value

PropertyIntrospection|null

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

Parameters

mixed $match
string $func
null|int $mask

Return Value

PropertyIntrospection[]

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

Parameters

mixed $match
string $func
null|int $mask

Return Value

null|PropertyIntrospection