final public static function memberBy(
        $property,
        $value,
        $isCaseSensitive = null
    ) {
        $member = static::memberByWithDefault(
            $property,
            $value,
            null,
            $isCaseSensitive
        );

        if (null === $member) {
            throw static::createUndefinedMemberException(
                get_called_class(),
                $property,
                $value
            );
        }

        return $member;
    }
final public static function memberBy(
        $property,
        $value,
        $isCaseSensitive = null
    ) {
        $member = static::memberByWithDefault(
            $property,
            $value,
            null,
            $isCaseSensitive
        );

        if (null === $member) {
            throw static::createUndefinedMemberException(
                get_called_class(),
                $property,
                $value
            );
        }

        return $member;
    }
final public static function memberBy ( $ property , $ value , $ isCaseSensitive = null ) { $ member = static :: memberByWithDefault ( $ property , $ value , null , $ isCaseSensitive ) ; if ( null === $ member ) { throw static :: createUndefinedMemberException ( get_called_class ( ) , $ property , $ value ) ; } return $ member ; }
Returns a single member by comparison with the result of an accessor
method.

@api

@param string    $property        The name of the property (accessor method) to match.
@param mixed     $value           The value to match.
@param bool|null $isCaseSensitive True if the search should be case sensitive.

@return static                            The first member for which $member->{$property}() === $value.
@throws UndefinedMemberExceptionInterface If no associated member is found.
Returns a single member by comparison with the result of an accessor method .