| 
    file-fetcher
    
   | 
 
  
Throw promise.
Public Member Functions | |
| __construct ($exception) | |
| execute (array $args, ObjectProphecy $object, MethodProphecy $method) | |
| Prophecy\Promise\ThrowPromise::__construct | ( | $exception | ) | 
Initializes promise.
| string | \Exception | \Throwable | $exception | Exception class name or instance | 
| Prophecy\Promise\ThrowPromise::execute | ( | array | $args, | 
| ObjectProphecy | $object, | ||
| MethodProphecy | $method | ||
| ) | 
Throws predefined exception.
| array | $args | |
| ObjectProphecy | $object | |
| MethodProphecy | $method | 
| object | 
Implements Prophecy\Promise\PromiseInterface.
 1.8.17