2023-08-15 14:14:00 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Invoice Ninja (https://invoiceninja.com).
|
|
|
|
*
|
|
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
|
|
*
|
2024-04-12 06:15:41 +02:00
|
|
|
* @copyright Copyright (c) 2024. Invoice Ninja LLC (https://invoiceninja.com)
|
2023-08-15 14:14:00 +02:00
|
|
|
*
|
|
|
|
* @license https://www.elastic.co/licensing/elastic-license
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\Events\Account;
|
|
|
|
|
|
|
|
use App\Models\Company;
|
|
|
|
use Illuminate\Broadcasting\InteractsWithSockets;
|
2023-10-26 04:57:44 +02:00
|
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
|
|
use Illuminate\Queue\SerializesModels;
|
2023-08-15 14:14:00 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Class StripeConnectFailure.
|
|
|
|
*/
|
|
|
|
class StripeConnectFailure
|
|
|
|
{
|
2024-01-14 05:05:00 +01:00
|
|
|
use Dispatchable;
|
|
|
|
use InteractsWithSockets;
|
|
|
|
use SerializesModels;
|
2023-08-15 14:14:00 +02:00
|
|
|
|
|
|
|
public function __construct(public Company $company, public string $db)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public function broadcastOn()
|
|
|
|
{
|
|
|
|
return [];
|
|
|
|
}
|
|
|
|
}
|