$checkSuccessFormat
$checkSuccessFormat :
__construct(\App\Format\CheckSuccessFormat $checkSuccessFormat)
Create a new event instance.
\App\Format\CheckSuccessFormat | $checkSuccessFormat |
<?php
/**
* JingYao-backend
*
* @link https://gitee.com/wang-zhihui-release/jingyao-backend
* @apiDocument https://gitee.com/wang-zhihui-release/jingyao-backend/wikis/
*/
namespace App\Events;
use App\Format\CheckSuccessFormat;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class CheckSuccess
{
use Dispatchable;
use InteractsWithSockets;
use SerializesModels;
public $checkSuccessFormat;
/**
* Create a new event instance.
*/
public function __construct(CheckSuccessFormat $checkSuccessFormat)
{
$this->checkSuccessFormat = $checkSuccessFormat;
}
/**
* Get the channels the event should broadcast on.
*
* @return array|\Illuminate\Broadcasting\Channel
*/
public function broadcastOn()
{
return new PrivateChannel('channel-name');
}
}