28
common/Workspaces/Events/WorkspaceDeleted.php
Executable file
28
common/Workspaces/Events/WorkspaceDeleted.php
Executable file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace Common\Workspaces\Events;
|
||||
|
||||
use Illuminate\Broadcasting\InteractsWithSockets;
|
||||
use Illuminate\Foundation\Events\Dispatchable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class WorkspaceDeleted
|
||||
{
|
||||
use Dispatchable, InteractsWithSockets, SerializesModels;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $workspaceId;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
public function __construct(int $workspaceId, int $ownerId)
|
||||
{
|
||||
$this->workspaceId = $workspaceId;
|
||||
$this->ownerId = $ownerId;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user