This commit is contained in:
2026-05-01 23:40:14 +08:00
commit b8f599a617
3867 changed files with 478663 additions and 0 deletions
+25
View File
@@ -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;
}
}