Rapsys Git
/
airbundle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add LocaleSubscriber to redirect used to logical language without session
[airbundle]
/
Entity
/
User.php
diff --git
a/Entity/User.php
b/Entity/User.php
index bd9f802333f9fb11db38c0598e38f51da4371d07..d521bd46e3d2e04f9e0ce2a098064490298d0eb7 100644
(file)
--- a/
Entity/User.php
+++ b/
Entity/User.php
@@
-24,13
+24,6
@@
class User extends BaseUser {
*/
private $applications;
*/
private $applications;
- /**
- * Constructor
- */
- public function __construct() {
- parent::__construct();
- }
-
/**
* Set phone
*
/**
* Set phone
*
@@
-114,15
+107,4
@@
class User extends BaseUser {
public function getApplications() {
return $this->applications;
}
public function getApplications() {
return $this->applications;
}
-
- /**
- * Get roles
- *
- * @return array
- */
- public function getRoles() {
- //Return roles array
- //XXX: [ ROLE_USER, ROLE_XXX, ... ]
- return parent::getRoles();
- }
}
}