master_template/app/Events/EnvironmentSaved.php

32 lines
595 B
PHP
Raw Permalink Normal View History

2024-06-11 06:31:24 +00:00
<?php
namespace App\Events;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Http\Request;
use Illuminate\Queue\SerializesModels;
class EnvironmentSaved
{
use Dispatchable, InteractsWithSockets, SerializesModels;
private $request;
/**
* Create a new event instance.
*
* @param Request $request
* @return void
*/
public function __construct(Request $request)
{
$this->request = $request;
}
public function getRequest()
{
return $this->request;
}
}