final public static function membersByPredicate($predicate)
    {
        $members = array();

        foreach (static::members() as $key => $member) {
            if ($predicate($member)) {
                $members[$key] = $member;
            }
        }

        return $members;
    }
final public static function membersByPredicate($predicate)
    {
        $members = array();

        foreach (static::members() as $key => $member) {
            if ($predicate($member)) {
                $members[$key] = $member;
            }
        }

        return $members;
    }
final public static function membersByPredicate ( $ predicate ) { $ members = array ( ) ; foreach ( static :: members ( ) as $ key => $ member ) { if ( $ predicate ( $ member ) ) { $ members [ $ key ] = $ member ; } } return $ members ; }
Returns a set of members by predicate callback.

@api

@param callable $predicate The predicate applied to the members to find matches.

@return array<string,static> All members for which $predicate($member) evaluates to boolean true.
Returns a set of members by predicate callback .