Return argument promise.
- Author
 - Konstantin Kudryashov ever..nosp@m.zet@.nosp@m.gmail.nosp@m..com 
 
 
◆ __construct()
      
        
          | Prophecy\Promise\ReturnArgumentPromise::__construct  | 
          ( | 
            | 
          $index = 0 | ) | 
           | 
        
      
 
Initializes callback promise.
- Parameters
 - 
  
    | int | $index | The zero-indexed number of the argument to return | 
  
   
- Exceptions
 - 
  
  
 
 
 
◆ execute()
Returns nth argument if has one, null otherwise.
- Parameters
 - 
  
    | array | $args |  | 
    | ObjectProphecy | $object |  | 
    | MethodProphecy | $method |  | 
  
   
- Returns
 - null|mixed 
 
Implements Prophecy\Promise\PromiseInterface.
 
 
The documentation for this class was generated from the following file: