Files
LaravelSkeletonAPI/app/Shared/Event/User/Created.php
2026-01-05 16:33:20 +04:00

28 lines
468 B
PHP

<?php
declare(strict_types=1);
namespace App\Shared\Event\User;
class Created
{
private string $userId;
private string $createdAt;
public function __construct(string $userId, string $createdAt)
{
$this->userId = $userId;
$this->createdAt = $createdAt;
}
public function getUserId(): string
{
return $this->userId;
}
public function getCreatedAt(): string
{
return $this->createdAt;
}
}