[HttpFoundation] added a small comment about the meaning of Request::hasSession() as this is a recurrent question (refs #4541)
This commit is contained in:
parent
936abe1752
commit
7b234db668
|
@ -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
|
||||
*/
|
||||
|
|
Reference in New Issue