Phprest\Entity\Error::getDetails PHP 메소드

getDetails() 공개 메소드

public getDetails ( ) : array
리턴 array
    public function getDetails()
    {
        return $this->details;
    }

Usage Example

예제 #1
0
 public function testGetDetails()
 {
     $error = new Error(new Exception('', 0, 500, ['details']));
     $this->assertEquals(['details'], $error->getDetails());
 }