PromisorInterface.php 243 B

123456789101112131415
  1. <?php
  2. namespace GuzzleHttp\Promise;
  3. /**
  4. * Interface used with classes that return a promise.
  5. */
  6. interface PromisorInterface
  7. {
  8. /**
  9. * Returns a promise.
  10. *
  11. * @return PromiseInterface
  12. */
  13. public function promise();
  14. }