public function listMethods()
    {
        $methods = array_keys($this->server->getIterator()->getArrayCopy());
        if ($this->whitelist !== null) {
            $methods = array_values(array_intersect($methods, $this->whitelist));
        }
        return $methods;
    }
public function listMethods()
    {
        $methods = array_keys($this->server->getIterator()->getArrayCopy());
        if ($this->whitelist !== null) {
            $methods = array_values(array_intersect($methods, $this->whitelist));
        }
        return $methods;
    }
public function listMethods ( ) { $ methods = array_keys ( $ this -> server -> getIterator ( ) -> getArrayCopy ( ) ) ; if ( $ this -> whitelist !== null ) { $ methods = array_values ( array_intersect ( $ methods , $ this -> whitelist ) ) ; } return $ methods ; }
List the methods supported by the server.

\retval array
Array with the names of available methods.
List the methods supported by the server .