WebhookReceiver.php 444 B

12345678910111213141516171819202122
  1. <?php
  2. namespace ThirdParty\Urs\Webhook;
  3. use App\Module\ThirdParty\Dto\Config;
  4. use App\Module\ThirdParty\Dto\Credential;
  5. use Illuminate\Http\Request;
  6. abstract class WebhookReceiver extends \App\Module\ThirdParty\Services\WebhookReceiver
  7. {
  8. /**
  9. *
  10. * @return \ThirdParty\Urs\Dto\Config
  11. */
  12. protected function getConfigDto(): Config
  13. {
  14. return \ThirdParty\Urs\Dto\Config::fromArray($this->getConfig());
  15. }
  16. }