public function onResponse($cb)
    {
        if ($cb === null && !$this->noSAF) {
            return;
        }
        $this->onResponse->push($cb);
        $this->checkFree();
    }
public function onResponse($cb)
    {
        if ($cb === null && !$this->noSAF) {
            return;
        }
        $this->onResponse->push($cb);
        $this->checkFree();
    }
public function onResponse ( $ cb ) { if ( $ cb === null && ! $ this -> noSAF ) { return ; } $ this -> onResponse -> push ( $ cb ) ; $ this -> checkFree ( ) ; }
Push callback to onReponse stack
@param  callable $cb Callback
@return void
Push callback to onReponse stack