| 1 | <?php  | 
            ||
| 7 | class QueueCall  | 
            ||
| 8 | { | 
            ||
| 9 | /**  | 
            ||
| 10 | * @var string  | 
            ||
| 11 | */  | 
            ||
| 12 | public $func;  | 
            ||
| 13 | |||
| 14 | /**  | 
            ||
| 15 | * @var array  | 
            ||
| 16 | */  | 
            ||
| 17 | public $args;  | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * @var PromiseInterface  | 
            ||
| 21 | */  | 
            ||
| 22 | public $promise;  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * @param string $func  | 
            ||
| 26 | * @param array $args  | 
            ||
| 27 | * @param PromiseInterface $promise  | 
            ||
| 28 | */  | 
            ||
| 29 | public function __construct($func, $args = [], PromiseInterface $promise)  | 
            ||
| 35 | }  | 
            ||
| 36 |