private function filterHandlers($method, $arguments)
    {
        $handlers = array();

        foreach ($this->handlers as $handler) {
            if ($handler->canHandle($method, $arguments)) {
                $handlers[] = $handler;
            }
        }

        return $handlers;
    }
private function filterHandlers($method, $arguments)
    {
        $handlers = array();

        foreach ($this->handlers as $handler) {
            if ($handler->canHandle($method, $arguments)) {
                $handlers[] = $handler;
            }
        }

        return $handlers;
    }
private function filterHandlers ( $ method , $ arguments ) { $ handlers = array ( ) ; foreach ( $ this -> handlers as $ handler ) { if ( $ handler -> canHandle ( $ method , $ arguments ) ) { $ handlers [ ] = $ handler ; } } return $ handlers ; }
Filters the handlers array down to only the handlers that can handle
the given request.

@param string $method JSON-RPC method name
@param array $arguments JSON-RPC arguments array (positional or associative)
@return Handler[] Filtered list of handlers
Filters the handlers array down to only the handlers that can handle the given request .