Event.php 616 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace Yansongda\Pay\Events;
  3. use Symfony\Contracts\EventDispatcher\Event as SymfonyEvent;
  4. class Event extends SymfonyEvent
  5. {
  6. /**
  7. * Driver.
  8. *
  9. * @var string
  10. */
  11. public $driver;
  12. /**
  13. * Method.
  14. *
  15. * @var string
  16. */
  17. public $gateway;
  18. /**
  19. * Extra attributes.
  20. *
  21. * @var mixed
  22. */
  23. public $attributes;
  24. /**
  25. * Bootstrap.
  26. *
  27. * @author yansongda <me@yansongda.cn>
  28. */
  29. public function __construct(string $driver, string $gateway)
  30. {
  31. $this->driver = $driver;
  32. $this->gateway = $gateway;
  33. }
  34. }