Rapsys Git
/
airbundle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add stop and hat infos
[airbundle]
/
Entity
/
Dance.php
diff --git
a/Entity/Dance.php
b/Entity/Dance.php
index fa07ba9693b153c6323fdb92cc15e29b5dbb9e94..e3779da83fc03d8558dbaa0c4dead87b3aea33a8 100644
(file)
--- 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();
}