@@ -34,8 +34,6 @@ public function __construct(ContainerInterface $container)
34
34
}
35
35
36
36
/**
37
- * Returns the current token.
38
- *
39
37
* @return TokenInterface|null
40
38
*/
41
39
public function getToken ()
@@ -47,11 +45,6 @@ public function getToken()
47
45
return $ this ->container ->get ('security.token_storage ' )->getToken ();
48
46
}
49
47
50
- /**
51
- * Returns the current user.
52
- *
53
- * @see TokenInterface::getUser()
54
- */
55
48
public function getUser ()
56
49
{
57
50
if (!$ token = $ this ->getToken ()) {
@@ -67,8 +60,6 @@ public function getUser()
67
60
}
68
61
69
62
/**
70
- * Returns the current request.
71
- *
72
63
* @return Request|null The HTTP request object
73
64
*/
74
65
public function getRequest ()
@@ -79,8 +70,6 @@ public function getRequest()
79
70
}
80
71
81
72
/**
82
- * Returns the current session.
83
- *
84
73
* @return Session|null The session
85
74
*/
86
75
public function getSession ()
@@ -91,8 +80,6 @@ public function getSession()
91
80
}
92
81
93
82
/**
94
- * Returns the current app environment.
95
- *
96
83
* @return string The current environment string (e.g 'dev')
97
84
*/
98
85
public function getEnvironment ()
@@ -101,8 +88,6 @@ public function getEnvironment()
101
88
}
102
89
103
90
/**
104
- * Returns the current app debug mode.
105
- *
106
91
* @return bool The current debug mode
107
92
*/
108
93
public function getDebug ()
0 commit comments