getThrowableData() 공개 정적인 메소드

Return throwable data in array format.
public static getThrowableData ( Error | Exception $ex, integer $offset ) : string[]
$ex Error | Exception
$offset integer
리턴 string[]
예제 #1
0
 /**
  *
  */
 public function testStaticApiGetThrowableData_ReturnsData_ForException()
 {
     $prev = $this->createException('Previous');
     $ex = $this->createException($message = 'Exception', $prev);
     $data = Throwable::getThrowableData($ex);
     $this->assertData($data);
 }