28 lines
468 B
PHP
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;
|
|
}
|
|
}
|