PHP 클래스 REBELinBLUE\Deployer\Events\ModelCreated

상속: extends Event, implements Illuminate\Contracts\Broadcasting\ShouldBroadcast, use trait Illuminate\Queue\SerializesModels
파일 보기 프로젝트 열기: rebelinblue/deployer

공개 프로퍼티들

프로퍼티 타입 설명
$model Illuminate\Database\Eloquent\Model

보호된 프로퍼티들

프로퍼티 타입 설명
$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