getDetails() public method

public getDetails ( ) : array
return array
コード例 #1
0
ファイル: ErrorTest.php プロジェクト: phprest/phprest
 public function testGetDetails()
 {
     $error = new Error(new Exception('', 0, 500, ['details']));
     $this->assertEquals(['details'], $error->getDetails());
 }