public function where($property, $value, $strict = true)
    {
        return $this->filter(function ($object) use ($property, $value, $strict) {

            if (!array_key_exists($property, $object->settings)) {
                return false;
            }

            return $strict
                ? $object->settings[$property] === $value
                : $object->settings[$property] == $value;
        });
    }
public function where($property, $value, $strict = true)
    {
        return $this->filter(function ($object) use ($property, $value, $strict) {

            if (!array_key_exists($property, $object->settings)) {
                return false;
            }

            return $strict
                ? $object->settings[$property] === $value
                : $object->settings[$property] == $value;
        });
    }
public function where ( $ property , $ value , $ strict = true ) { return $ this -> filter ( function ( $ object ) use ( $ property , $ value , $ strict ) { if ( ! array_key_exists ( $ property , $ object -> settings ) ) { return false ; } return $ strict ? $ object -> settings [ $ property ] === $ value : $ object -> settings [ $ property ] == $ value ; } ) ; }
Returns objects whose properties match the supplied value.
@param string $property
@param string $value
@param bool $strict
@return static
Returns objects whose properties match the supplied value .