Result.php 280 B

123456789101112131415161718
  1. <?php
  2. namespace GuzzleHttp\Command;
  3. /**
  4. * Default command implementation.
  5. */
  6. class Result implements ResultInterface
  7. {
  8. use HasDataTrait;
  9. /**
  10. * @param array $data
  11. */
  12. public function __construct(array $data = [])
  13. {
  14. $this->data = $data;
  15. }
  16. }