MethodCalled.php 502 B

1234567891011121314151617181920212223242526
  1. <?php
  2. declare(strict_types=1);
  3. namespace Yansongda\Pay\Event;
  4. use Yansongda\Artful\Event\Event;
  5. use Yansongda\Artful\Rocket;
  6. class MethodCalled extends Event
  7. {
  8. public string $provider;
  9. public string $name;
  10. public array $params;
  11. public function __construct(string $provider, string $name, array $params, ?Rocket $rocket = null)
  12. {
  13. $this->provider = $provider;
  14. $this->name = $name;
  15. $this->params = $params;
  16. parent::__construct($rocket);
  17. }
  18. }