Skip to content
Snippets Groups Projects
Unverified Commit 31502597 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

make hasSessionCookie abstract

All descendants overload this function anyway
parent 643f0965
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,16 @@ abstract class SessionHandler
abstract public function loadSession($sessionId = null);
/**
* Check whether the session cookie is set.
*
* This function will only return false if is is certain that the cookie isn't set.
*
* @return bool True if it was set, false if not.
*/
abstract public function hasSessionCookie();
/**
* Set a session cookie.
*
......@@ -129,19 +139,6 @@ abstract class SessionHandler
}
/**
* Check whether the session cookie is set.
*
* This function will only return false if is is certain that the cookie isn't set.
*
* @return bool True if it was set, false if not.
*/
public function hasSessionCookie()
{
return true;
}
/**
* Get the cookie parameters that should be used for session cookies.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment