@@ -34,8 +34,6 @@ public function __construct(ContainerInterface $container)
3434 }
3535
3636 /**
37- * Returns the current token.
38- *
3937 * @return TokenInterface|null
4038 */
4139 public function getToken ()
@@ -47,11 +45,6 @@ public function getToken()
4745 return $ this ->container ->get ('security.token_storage ' )->getToken ();
4846 }
4947
50- /**
51- * Returns the current user.
52- *
53- * @see TokenInterface::getUser()
54- */
5548 public function getUser ()
5649 {
5750 if (!$ token = $ this ->getToken ()) {
@@ -67,8 +60,6 @@ public function getUser()
6760 }
6861
6962 /**
70- * Returns the current request.
71- *
7263 * @return Request|null The HTTP request object
7364 */
7465 public function getRequest ()
@@ -79,8 +70,6 @@ public function getRequest()
7970 }
8071
8172 /**
82- * Returns the current session.
83- *
8473 * @return Session|null The session
8574 */
8675 public function getSession ()
@@ -91,8 +80,6 @@ public function getSession()
9180 }
9281
9382 /**
94- * Returns the current app environment.
95- *
9683 * @return string The current environment string (e.g 'dev')
9784 */
9885 public function getEnvironment ()
@@ -101,8 +88,6 @@ public function getEnvironment()
10188 }
10289
10390 /**
104- * Returns the current app debug mode.
105- *
10691 * @return bool The current debug mode
10792 */
10893 public function getDebug ()
0 commit comments