Return promise.
- Author
 - Konstantin Kudryashov ever..nosp@m.zet@.nosp@m.gmail.nosp@m..com 
 
 
◆ __construct()
      
        
          | Prophecy\Promise\ReturnPromise::__construct  | 
          ( | 
          array  | 
          $returnValues | ) | 
           | 
        
      
 
Initializes promise.
- Parameters
 - 
  
    | array | $returnValues | Array of values  | 
  
   
 
 
◆ execute()
Returns saved values one by one until last one, then continuously returns last value.
- Parameters
 - 
  
    | array | $args |  | 
    | ObjectProphecy | $object |  | 
    | MethodProphecy | $method |  | 
  
   
- Returns
 - mixed 
 
Implements Prophecy\Promise\PromiseInterface.
 
 
The documentation for this class was generated from the following file: