X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/1c693b7ed3bb3530a1eb189f9fb2ad2346661c5b..b929a02319f2fd8d373d1d3f4caf62604b516b7f:/Entity/Dance.php?ds=inline diff --git a/Entity/Dance.php b/Entity/Dance.php index fa07ba9..e3779da 100644 --- a/Entity/Dance.php +++ b/Entity/Dance.php @@ -52,6 +52,9 @@ class Dance { * Constructor */ public function __construct() { + //Set defaults + $this->created = new \DateTime('now'); + $this->updated = new \DateTime('now'); $this->applications = new ArrayCollection(); $this->users = new ArrayCollection(); }