Skip to content

Commit

Permalink
remove broadcast method from events
Browse files Browse the repository at this point in the history
  • Loading branch information
milwad-dev committed Jul 18, 2024
1 parent a8396ad commit 857b6a8
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 60 deletions.
12 changes: 0 additions & 12 deletions src/Events/LaravelCartDecreaseQuantityEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,4 @@ public function __construct()
{
//
}

/**
* Get the channels the event should broadcast on.
*
* @return array<int, \Illuminate\Broadcasting\Channel>
*/
public function broadcastOn(): array
{
return [
new PrivateChannel('channel-name'),
];
}
}
12 changes: 0 additions & 12 deletions src/Events/LaravelCartEmptyEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,4 @@ public function __construct()
{
//
}

/**
* Get the channels the event should broadcast on.
*
* @return array<int, \Illuminate\Broadcasting\Channel>
*/
public function broadcastOn(): array
{
return [
new PrivateChannel('channel-name'),
];
}
}
12 changes: 0 additions & 12 deletions src/Events/LaravelCartIncreaseQuantityEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,4 @@ public function __construct()
{
//
}

/**
* Get the channels the event should broadcast on.
*
* @return array<int, \Illuminate\Broadcasting\Channel>
*/
public function broadcastOn(): array
{
return [
new PrivateChannel('channel-name'),
];
}
}
12 changes: 0 additions & 12 deletions src/Events/LaravelCartRemoveItemEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,4 @@ public function __construct()
{
//
}

/**
* Get the channels the event should broadcast on.
*
* @return array<int, \Illuminate\Broadcasting\Channel>
*/
public function broadcastOn(): array
{
return [
new PrivateChannel('channel-name'),
];
}
}
12 changes: 0 additions & 12 deletions src/Events/LaravelCartStoreItemEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,4 @@ public function __construct()
{
//
}

/**
* Get the channels the event should broadcast on.
*
* @return array<int, \Illuminate\Broadcasting\Channel>
*/
public function broadcastOn(): array
{
return [
new PrivateChannel('channel-name'),
];
}
}

0 comments on commit 857b6a8

Please sign in to comment.