final class ObjectPropertySelector extends AbstractPropertySelector

internal  This class is not covered by the backward compatibility promise
 

Methods

bool
select(mixed $subject, mixed $key, mixed $retval = null)

No description

bool
selectFromSupported(mixed $subject, mixed $key, mixed $retval = null)

No description

void
assertSupports(mixed $subject, int $argument, int $distance = 1)

No description

string
selectable()

A name for the values being selected from subject (in plural, e.g. "values" or "properties").

mixed
getSubjectAttribute(mixed $subject, mixed $key)

No description

bool
selectWithMethod(mixed $subject, string $method, mixed $retval = null)

No description

bool
selectWithAttribute(mixed $subject, mixed $key, mixed $retval = null)

No description

bool
supports(mixed $subject)

No description

string
subject()

A short string naming the subject type supported by this selector.

Details

final bool select(mixed $subject, mixed $key, mixed $retval = null)

No description

Parameters

mixed $subject
mixed $key
mixed $retval

Return Value

bool

Exceptions

InvalidArgumentException

final protected bool selectFromSupported(mixed $subject, mixed $key, mixed $retval = null)

No description

Parameters

mixed $subject
mixed $key
mixed $retval

Return Value

bool

final protected void assertSupports(mixed $subject, int $argument, int $distance = 1)

No description

Parameters

mixed $subject
int $argument
int $distance

Return Value

void

Exceptions

InvalidArgumentException

string selectable()

A name for the values being selected from subject (in plural, e.g. "values" or "properties").

Return Value

string

at line 49
protected mixed getSubjectAttribute(mixed $subject, mixed $key)

No description

Parameters

mixed $subject
mixed $key

Return Value

mixed

final protected bool selectWithMethod(mixed $subject, string $method, mixed $retval = null)

No description

Parameters

mixed $subject
string $method
mixed $retval

Return Value

bool

final protected bool selectWithAttribute(mixed $subject, mixed $key, mixed $retval = null)

No description

Parameters

mixed $subject
mixed $key
mixed $retval

Return Value

bool

at line 27
bool supports(mixed $subject)

No description

Parameters

mixed $subject

Return Value

bool

at line 35
string subject()

A short string naming the subject type supported by this selector.

Return Value

string