Rapsys Git
/
airbundle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add google token repository
[airbundle]
/
Entity
/
Application.php
diff --git
a/Entity/Application.php
b/Entity/Application.php
index 48e69929edb8fd4d2163638124f73b2cfc859bbe..5d3120360342c6761cf51c76bca43fe7e2df1a60 100644
(file)
--- a/
Entity/Application.php
+++ b/
Entity/Application.php
@@
-61,6
+61,11
@@
class Application {
* Constructor
*/
public function __construct() {
* Constructor
*/
public function __construct() {
+ //Set defaults
+ $this->score = null;
+ $this->canceled = null;
+ $this->created = new \DateTime('now');
+ $this->updated = new \DateTime('now');
$this->session = null;
$this->user = null;
}
$this->session = null;
$this->user = null;
}
@@
-79,9
+84,9
@@
class Application {
*
* @param Dance $dance
*
*
* @param Dance $dance
*
- * @return
Sess
ion
+ * @return
Applicat
ion
*/
*/
- public function setDance(Dance $dance):
Sess
ion {
+ public function setDance(Dance $dance):
Applicat
ion {
$this->dance = $dance;
return $this;
$this->dance = $dance;
return $this;