PHP Класс REBELinBLUE\Deployer\Events\ModelCreated

Наследование: extends Event, implements Illuminate\Contracts\Broadcasting\ShouldBroadcast, use trait Illuminate\Queue\SerializesModels
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$model Illuminate\Database\Eloquent\Model

Защищенные свойства (Protected)

Свойство Тип Описание
$channel string

Открытые методы

Метод Описание
__construct ( Model $model, string $channel ) ModelCreated constructor.
broadcastOn ( ) : array Get the channels the event should be broadcast on.

Описание методов

__construct() публичный Метод

ModelCreated constructor.
public __construct ( Model $model, string $channel )
$model Illuminate\Database\Eloquent\Model
$channel string

broadcastOn() публичный Метод

Get the channels the event should be broadcast on.
public broadcastOn ( ) : array
Результат array

Описание свойств

$channel защищенное свойство

protected string $channel
Результат string

$model публичное свойство

public Model,Illuminate\Database\Eloquent $model
Результат Illuminate\Database\Eloquent\Model