PHP Class REBELinBLUE\Deployer\Events\ModelCreated

Inheritance: extends Event, implements Illuminate\Contracts\Broadcasting\ShouldBroadcast, use trait Illuminate\Queue\SerializesModels
Afficher le fichier Open project: rebelinblue/deployer

Méthodes publiques

Свойство Type Description
$model Illuminate\Database\Eloquent\Model

Protected Properties

Свойство Type Description
$channel string

Méthodes publiques

Méthode Description
__construct ( Model $model, string $channel ) ModelCreated constructor.
broadcastOn ( ) : array Get the channels the event should be broadcast on.

Method Details

__construct() public méthode

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

broadcastOn() public méthode

Get the channels the event should be broadcast on.
public broadcastOn ( ) : array
Résultat array

Property Details

$channel protected_oe property

protected string $channel
Résultat string

$model public_oe property

public Model,Illuminate\Database\Eloquent $model
Résultat Illuminate\Database\Eloquent\Model