toThrowable() public method

Return proxied Throwable.
public toThrowable ( ) : Error | Exception
return Error | Exception
Example #1
0
 /**
  * @see Promise::getReason
  */
 protected function getReason()
 {
     return $this->reason instanceof ThrowableProxy ? $this->reason->toThrowable() : $this->reason;
 }