Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace App\Events;
- use App\Events\Event;
- use Illuminate\Queue\SerializesModels;
- use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
- class CompanyActionlog extends Event
- {
- use SerializesModels;
- /**
- * Create a new event instance.
- *
- * @param $name
- * @param array $entities, Have to be empty or contains all keys: actual, before, related
- * @param null $note
- */
- public function __construct($name, $entities = [], $note = null)
- {
- $this->assignActionlog($name, $entities, $note);
- }
- /**
- * Get the channels the event should be broadcast on.
- *
- * @return array
- */
- public function broadcastOn()
- {
- return [];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement