public function addQuery(ClientAction $query, $resultObject = null)
    {
        if (isset($resultObject)) {
            $queryId = $query->getId();
            $this->resultObjects[$queryId] = $resultObject;
        }
        $this->queries[] = $query;
    }
public function addQuery(ClientAction $query, $resultObject = null)
    {
        if (isset($resultObject)) {
            $queryId = $query->getId();
            $this->resultObjects[$queryId] = $resultObject;
        }
        $this->queries[] = $query;
    }
public function addQuery ( ClientAction $ query , $ resultObject = null ) { if ( isset ( $ resultObject ) ) { $ queryId = $ query -> getId ( ) ; $ this -> resultObjects [ $ queryId ] = $ resultObject ; } $ this -> queries [ ] = $ query ; }
Add query into request queue
@param ClientAction $query
@param ClientObject $resultObject
Add query into request queue