Rapsys Git
/
airbundle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add modify link
[airbundle]
/
Entity
/
Slot.php
diff --git
a/Entity/Slot.php
b/Entity/Slot.php
index c5fcd86771529d784deea742fc2c368fb4253755..116c29fcd6576e081fb21d377a8e9d7c808aa783 100644
(file)
--- 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();
}