| 1 | <?php |
||
| 9 | class ResolutionConfigChangeEvent extends Event |
||
| 10 | { |
||
| 11 | use SerializesModels; |
||
| 12 | |||
| 13 | public $project_key; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Create a new event instance. |
||
| 17 | * |
||
| 18 | * @return void |
||
|
|
|||
| 19 | */ |
||
| 20 | public function __construct($project_key) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Get the channels the event should be broadcast on. |
||
| 27 | * |
||
| 28 | * @return array |
||
| 29 | */ |
||
| 30 | public function broadcastOn() |
||
| 34 | } |
||
| 35 |
Adding a
@returnannotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.