Example #1
0
 /**
  * Get the code surrounding the line where the exception occurred.
  *
  * @return array 
  */
 public function context()
 {
     return File::snapshot($this->exception->getFile(), $this->exception->getLine());
 }