[HttpFoundation] added a small comment about the meaning of Request::hasSession() as this is a recurrent question (refs #4541)

This commit is contained in:
Fabien Potencier 2012-11-30 13:53:14 +01:00
parent 936abe1752
commit 7b234db668
1 changed files with 6 additions and 2 deletions

View File

@ -602,7 +602,7 @@ class Request
* Whether the request contains a Session which was started in one of the
* previous requests.
*
* @return boolean
* @return Boolean
*
* @api
*/
@ -615,7 +615,11 @@ class Request
/**
* Whether the request contains a Session object.
*
* @return boolean
* This method does not give any information about the state of the session object,
* like whether the session is started or not. It is just a way to check if this Request
* is associated with a Session instance.
*
* @return Boolean true when the Request contains a Session object, false otherwise
*
* @api
*/