X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/e075a8cf055de6a79df2fae0084bf0830541a075..dcdc4baf0ec625b1c72e752bcc656213fc4a757e:/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(); }