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