public function __construct($email) { $this->email = $email; $this->createdAt = new \DateTime('now'); }