src/Reflection.js
function(name) {
        var list = this.getMethods();
        for (var i in list) {
            if (list[i].getName() === name) {
                return list[i];
            }
        }
        throw 'Method "' + name + '" does not exist.';
    }
function(name) {
        var list = this.getMethods();
        for (var i in list) {
            if (list[i].getName() === name) {
                return list[i];
            }
        }
        throw 'Method "' + name + '" does not exist.';
    }
function ( name ) { var list = this . getMethods ( ) ; for ( var i in list ) { if ( list [ i ] . getName ( ) === name ) { return list [ i ] ; } } throw 'Method "' + name + '" does not exist.' ; }
Returns an instance of JOII.Reflection.Method of a method by the
given name.

@param  string name
@return JOII.Reflection.Method
Returns an instance of JOII . Reflection . Method of a method by the given name .