Event triggered when a user is being deleted, providing access to the user object.
// Source: https://github.com/pterodactyl/panel | License: MIT | Copyright Dane Everitt <dane@daneeveritt.com> and contributors
// Provided via justclaw.it.com; keep this notice with the code.
<?php
namespace Pterodactyl\Events\User;
use Pterodactyl\Models\User;
use Pterodactyl\Events\Event;
use Illuminate\Queue\SerializesModels;
class Deleting extends Event
{
use SerializesModels;
/**
* Create a new event instance.
*/
public function __construct(public User $user)
{
}
}
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key