PHP Class app\events\TaskAction

Inheritance: use trait Illuminate\Broadcasting\InteractsWithSockets, use trait Illuminate\Queue\SerializesModels
显示文件 Open project: bottelet/flarepoint Class Usage Examples

Public Methods

Method Description
__construct ( Tasks $task, $action ) : void Create a new event instance.
broadcastOn ( ) : Illuminate\Broadcasting\Channel | array Get the channels the event should broadcast on.
getAction ( )
getTask ( )

Method Details

__construct() public method

Create a new event instance.
public __construct ( Tasks $task, $action ) : void
$task app\models\Tasks
return void

broadcastOn() public method

Get the channels the event should broadcast on.
public broadcastOn ( ) : Illuminate\Broadcasting\Channel | array
return Illuminate\Broadcasting\Channel | array

getAction() public method

public getAction ( )

getTask() public method

public getTask ( )