proofdb/vendor/illuminate/http/StreamedEvent.php
2026-05-01 23:40:14 +08:00

26 lines
397 B
PHP

<?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;
}
}