Download app/Events/UsersActivityEvent.php from pnacorp/magicai: direct link, hf CLI and curl.
- Browser
- Download file 638 Bytes
-
https://huggingface.co/pnacorp/magicai/resolve/main/app/Events/UsersActivityEvent.php
- Command line
-
hf download hf://pnacorp/magicai/app/Events/UsersActivityEvent.php
-
curl -L -o UsersActivityEvent.php https://huggingface.co/pnacorp/magicai/resolve/main/app/Events/UsersActivityEvent.php
638 Bytes
| namespace App\Events; | |
| use Illuminate\Broadcasting\InteractsWithSockets; | |
| use Illuminate\Foundation\Events\Dispatchable; | |
| use Illuminate\Queue\SerializesModels; | |
| class UsersActivityEvent | |
| { | |
| use Dispatchable; | |
| use InteractsWithSockets; | |
| use SerializesModels; | |
| public $email; | |
| public $type; | |
| public $ip; | |
| public $connection; | |
| /** | |
| * Create a new event instance. | |
| * | |
| * @return void | |
| */ | |
| public function __construct($email, $type, $ip, $connection) | |
| { | |
| $this->email = $email; | |
| $this->type = $type; | |
| $this->ip = $ip; | |
| $this->connection = $connection; | |
| } | |
| } | |