Return throwable data in array format.
public static getThrowableData ( |
||
$ex | ||
$offset | integer | |
Результат | string[] |
/** * */ public function testStaticApiGetThrowableData_ReturnsData_ForException() { $prev = $this->createException('Previous'); $ex = $this->createException($message = 'Exception', $prev); $data = Throwable::getThrowableData($ex); $this->assertData($data); }