Return Error throwable trace in string format.
public static toThrowableString ( |
||
$ex | ||
return | string |
/** * */ public function testStaticApiToThrowableString_ReturnsThrowableTraceAsString() { $prev = $this->createError('Previous'); $ex = $this->createError('Error', $prev); $this->assertThrowableString(Error::toThrowableString($ex)); }