X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/ea9b00a8025f8bbe7a1c28399f7538bea6d60a2c..e57fd4e1f21e9a7b44e7d9db078e261ddc0450cf:/Entity/Civility.php

diff --git a/Entity/Civility.php b/Entity/Civility.php
index 4d2671a..9ec56e9 100644
--- a/Entity/Civility.php
+++ b/Entity/Civility.php
@@ -1,7 +1,7 @@
 <?php declare(strict_types=1);
 
 /*
- * This file is part of the Rapsys PackBundle package.
+ * This file is part of the Rapsys UserBundle package.
  *
  * (c) Raphaël Gertz <symfony@rapsys.eu>
  *
@@ -51,7 +51,10 @@ class Civility {
 	 * @param string $title The civility name
 	 */
 	public function __construct(string $title) {
+		//Set defaults
 		$this->title = $title;
+		$this->created = new \DateTime('now');
+		$this->updated = new \DateTime('now');
 		$this->users = new ArrayCollection();
 	}