public function add(MethodInterface $method)
    {
        if ($this->isUnique($method)) {
            $this->collection[] = $method;
        } else {
            throw new ExtDirectException("Remotable methodname {$method->getAnnotatedName()} already exists, but have to be unique");
        }
    }
public function add(MethodInterface $method)
    {
        if ($this->isUnique($method)) {
            $this->collection[] = $method;
        } else {
            throw new ExtDirectException("Remotable methodname {$method->getAnnotatedName()} already exists, but have to be unique");
        }
    }
public function add ( MethodInterface $ method ) { if ( $ this -> isUnique ( $ method ) ) { $ this -> collection [ ] = $ method ; } else { throw new ExtDirectException ( "Remotable methodname {$method->getAnnotatedName()} already exists, but have to be unique" ) ; } }
Adds a remote able instance to the collection

@param MethodInterface $method the remote able instance

@return void
@throws ExtDirectException
Adds a remote able instance to the collection