public function addMethod(RPC\Method $method)
    {
        $tmp = explode('\\', get_class($method));
        $this->methods[end($tmp)] = $method;
    }
public function addMethod(RPC\Method $method)
    {
        $tmp = explode('\\', get_class($method));
        $this->methods[end($tmp)] = $method;
    }
public function addMethod ( RPC \ Method $ method ) { $ tmp = explode ( '\\' , get_class ( $ method ) ) ; $ this -> methods [ end ( $ tmp ) ] = $ method ; }
Adds a method instance

@param  RPC\Method $method
@return self       The current Process instance
Adds a method instance