X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/e0cf523ebc5837a1bc23bec7e1917dbb75c8d747..e4d671292a5eb1195d22c49642589195fa77b769:/Entity/Slot.php diff --git a/Entity/Slot.php b/Entity/Slot.php index c5fcd86..116c29f 100644 --- a/Entity/Slot.php +++ b/Entity/Slot.php @@ -47,6 +47,9 @@ class Slot { * Constructor */ public function __construct() { + //Set defaults + $this->created = new \DateTime('now'); + $this->updated = new \DateTime('now'); $this->sessions = new ArrayCollection(); }