src/ExtDirect/ExtDirect.php
public function processRequest(array $request)
    {
        $responseCollection = new ResponseCollection();
        if ($this->isBatchedRequest($request)) {
            foreach ($request as $singleRequest) {
                $responseCollection->add($this->process($singleRequest));
            }
        } else {
            $responseCollection->add($this->process($request));
        }
        $this->setResponse($responseCollection);
    }
public function processRequest(array $request)
    {
        $responseCollection = new ResponseCollection();
        if ($this->isBatchedRequest($request)) {
            foreach ($request as $singleRequest) {
                $responseCollection->add($this->process($singleRequest));
            }
        } else {
            $responseCollection->add($this->process($request));
        }
        $this->setResponse($responseCollection);
    }
public function processRequest ( array $ request ) { $ responseCollection = new ResponseCollection ( ) ; if ( $ this -> isBatchedRequest ( $ request ) ) { foreach ( $ request as $ singleRequest ) { $ responseCollection -> add ( $ this -> process ( $ singleRequest ) ) ; } } else { $ responseCollection -> add ( $ this -> process ( $ request ) ) ; } $ this -> setResponse ( $ responseCollection ) ; }
request processing

@param array $request the ext direct request as array

@return void
request processing