for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Events;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class ContentUpdated
{
use Dispatchable, InteractsWithSockets, SerializesModels;
Illuminate\Queue\SerializesModels
App\Events\ContentUpdated
$relations
$class
$connection
$keyBy
public $id;
/**
* Create a new event instance.
*
* @param array $id 内容ID
* @return void
*/
public function __construct(array $id)
$this->id = $id;
}