| 1 | <?php |
||
| 17 | class Transaction |
||
| 18 | { |
||
| 19 | |||
| 20 | public $promises; |
||
| 21 | public $client = null; |
||
| 22 | /** |
||
| 23 | * Transaction constructor. You can pass clien |
||
| 24 | * @param null $client |
||
| 25 | */ |
||
| 26 | public function __construct($client = null) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param $promise |
||
| 33 | * @return $this |
||
| 34 | */ |
||
| 35 | public function addPromise($name,$promise){ |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Awaits all the promises and returns data |
||
| 42 | * |
||
| 43 | * @return array; |
||
|
|
|||
| 44 | */ |
||
| 45 | public function unwrap(){ |
||
| 49 | } |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.