toThrowableTrace() 공개 정적인 메소드

Return Error throwable trace in array format.
public static toThrowableTrace ( Error | Exception $ex ) : string[]
$ex Error | Exception
리턴 string[]
예제 #1
0
 /**
  *
  */
 public function testStaticApiToThrowableTrace_ReturnsStackThrowable()
 {
     $prev = $this->createError('Previous');
     $ex = $this->createError('Error', $prev);
     $this->assertThrowableTrace(Error::toThrowableTrace($ex));
 }