public function __construct($email) { $this->email = $email; $this->occurredOn = new \DateTimeImmutable(); }