28 lines
468 B
PHP
28 lines
468 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Shared\Event\User;
|
|
|
|
class Updated
|
|
{
|
|
private string $userId;
|
|
private string $updatedAt;
|
|
|
|
public function __construct(string $userId, string $updatedAt)
|
|
{
|
|
$this->userId = $userId;
|
|
$this->updatedAt = $updatedAt;
|
|
}
|
|
|
|
public function getUserId(): string
|
|
{
|
|
return $this->userId;
|
|
}
|
|
|
|
public function getUpdatedAt(): string
|
|
{
|
|
return $this->updatedAt;
|
|
}
|
|
}
|