mirror of
https://github.com/ershisan99/coolify.git
synced 2026-01-07 12:34:18 +00:00
refactor applicationdeploymentjob
This commit is contained in:
27
app/Providers/ApplicationDeploymentFinished.php
Normal file
27
app/Providers/ApplicationDeploymentFinished.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Broadcasting\Channel;
|
||||
use Illuminate\Broadcasting\InteractsWithSockets;
|
||||
use Illuminate\Broadcasting\PresenceChannel;
|
||||
use Illuminate\Broadcasting\PrivateChannel;
|
||||
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
|
||||
use Illuminate\Foundation\Events\Dispatchable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class ApplicationDeploymentFinished
|
||||
{
|
||||
use Dispatchable, InteractsWithSockets, SerializesModels;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
public function broadcastOn(): array
|
||||
{
|
||||
return [
|
||||
new PrivateChannel('application-deployment-finished'),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user