Auth event fired when a user registers.
// Source: https://github.com/filamentphp/filament | License: MIT | Copyright Filament
// Provided via justclaw.it.com; keep this notice with the code.
<?php
namespace Filament\Auth\Events;
use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Queue\SerializesModels;
class Registered
{
use SerializesModels;
public function __construct(
protected Authenticatable $user,
) {}
public function getUser(): Authenticatable
{
return $this->user;
}
}
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key