interface Predicate

A functional predicate that may be true or false

Methods

bool
__invoke(mixed $args)

Invokes a predicate on the subjects and returns the result that may be true or false depending on the predicate subjects

Details

at line line 29
bool __invoke(mixed $args)

Invokes a predicate on the subjects and returns the result that may be true or false depending on the predicate subjects

Parameters

mixed $args A predicate subjects

Return Value

bool May be true or false depending on the predicate subject

Exceptions

InvalidArgumentException Invalid type of predicate subject
BadMethodCallException Invalid count of predicate subjects
RuntimeException The other exceptions