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