暂存
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Http;
|
||||
|
||||
class StreamedEvent
|
||||
{
|
||||
/**
|
||||
* The name of the event.
|
||||
*/
|
||||
public string $event;
|
||||
|
||||
/**
|
||||
* The data of the stream.
|
||||
*/
|
||||
public mixed $data;
|
||||
|
||||
/**
|
||||
* Create a new streamed event instance.
|
||||
*/
|
||||
public function __construct(string $event, mixed $data)
|
||||
{
|
||||
$this->event = $event;
|
||||
$this->data = $data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user