public function get($job_id)
    {
        $result = null;
        $this->hook->attach('job.get.before', $job_id, $result, $this);

        if (isset($result)) {
            return $result;
        }

        $result = $this->getSession($job_id);
        $this->hook->attach('job.get.after', $job_id, $result, $this);
        return $result;
    }
public function get($job_id)
    {
        $result = null;
        $this->hook->attach('job.get.before', $job_id, $result, $this);

        if (isset($result)) {
            return $result;
        }

        $result = $this->getSession($job_id);
        $this->hook->attach('job.get.after', $job_id, $result, $this);
        return $result;
    }
public function get ( $ job_id ) { $ result = null ; $ this -> hook -> attach ( 'job.get.before' , $ job_id , $ result , $ this ) ; if ( isset ( $ result ) ) { return $ result ; } $ result = $ this -> getSession ( $ job_id ) ; $ this -> hook -> attach ( 'job.get.after' , $ job_id , $ result , $ this ) ; return $ result ; }
Returns a job array from the session
@param string $job_id
@return array
Returns a job array from the session