X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FSession%2FISession.php;h=2b2bf32e57eaac2d92deb2cc29c9c0452a7d08ed;hb=2a431b580f2e8f6a596e84175932e793678cde63;hp=006cc6ce6aa48d5cb50b0a33e92e4712f8b8084e;hpb=555513e4b48e948bdfd64bba833e0ccf222c0b2b;p=friendica.git diff --git a/src/Core/Session/ISession.php b/src/Core/Session/ISession.php index 006cc6ce6a..2b2bf32e57 100644 --- a/src/Core/Session/ISession.php +++ b/src/Core/Session/ISession.php @@ -1,9 +1,29 @@ . + * + */ namespace Friendica\Core\Session; -use Friendica\BaseObject; - +/** + * Contains all global supported Session methods + */ interface ISession { /** @@ -28,7 +48,8 @@ interface ISession * Handle the case where session_start() hasn't been called and the super global isn't available. * * @param string $name - * @param mixed $defaults + * @param mixed $defaults + * * @return mixed */ public function get(string $name, $defaults = null); @@ -38,7 +59,7 @@ interface ISession * Overrides value of existing key. * * @param string $name - * @param mixed $value + * @param mixed $value */ public function set(string $name, $value); @@ -62,9 +83,4 @@ interface ISession * Clears the current session array */ public function clear(); - - /** - * Kills the "Friendica" cookie and all session data - */ - public function delete(); }