original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Returns a job array from the session
  @param string $job_id
  @return array
docstring_tokens: Returns a job array from the session