public function route()
    {
        $batch = array();
                
        foreach ($this->request->getCalls() as $call) {
            $batch[] = $this->dispatch($call);
        }

        return $this->response->encode($batch);
    }
public function route()
    {
        $batch = array();
                
        foreach ($this->request->getCalls() as $call) {
            $batch[] = $this->dispatch($call);
        }

        return $this->response->encode($batch);
    }
public function route ( ) { $ batch = array ( ) ; foreach ( $ this -> request -> getCalls ( ) as $ call ) { $ batch [ ] = $ this -> dispatch ( $ call ) ; } return $ this -> response -> encode ( $ batch ) ; }
Do the ExtDirect routing processing.

@return JSON
Do the ExtDirect routing processing .