private function _peek($tube, $method) {
        try {
            $job = $this->_client->useTube($tube)->{$method}();
            $peek = array(
                'id' => $job->getId(),
                'data' => $job->getData(),
                'stats' => $this->_client->statsJob($job));
        } catch (Exception $ex) {
            $peek = array();
        }
        if ($peek) {
            $peek['data'] = $this->_decodeDate($peek['data']);
        }
        return $peek;
    }
private function _peek($tube, $method) {
        try {
            $job = $this->_client->useTube($tube)->{$method}();
            $peek = array(
                'id' => $job->getId(),
                'data' => $job->getData(),
                'stats' => $this->_client->statsJob($job));
        } catch (Exception $ex) {
            $peek = array();
        }
        if ($peek) {
            $peek['data'] = $this->_decodeDate($peek['data']);
        }
        return $peek;
    }
private function _peek ( $ tube , $ method ) { try { $ job = $ this -> _client -> useTube ( $ tube ) -> { $ method } ( ) ; $ peek = array ( 'id' => $ job -> getId ( ) , 'data' => $ job -> getData ( ) , 'stats' => $ this -> _client -> statsJob ( $ job ) ) ; } catch ( Exception $ ex ) { $ peek = array ( ) ; } if ( $ peek ) { $ peek [ 'data' ] = $ this -> _decodeDate ( $ peek [ 'data' ] ) ; } return $ peek ; }
Pheanstalk class instance

@var Pheanstalk
Pheanstalk class instance