Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 341 Bytes

PropertyFilter.md

File metadata and controls

18 lines (13 loc) · 341 Bytes

PropertyFilter

This filter accepts objects if the value of the property is the same as the provided value.

For example:

class MyObject
{
    private $value;
}

$objects = $funnel->findByProperty('value', 5);

Note: It works for any property type being public, protected, private as well as those allocated dynamically.