
| Current Path : /var/www/html1/bebop-gmuend.de1/core/lib/Drupal/Core/Session/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html1/bebop-gmuend.de1/core/lib/Drupal/Core/Session/SessionManagerInterface.php |
<?php
namespace Drupal\Core\Session;
use Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface;
/**
* Defines the session manager interface.
*/
interface SessionManagerInterface extends SessionStorageInterface {
/**
* Ends a specific user's session(s).
*
* @param int $uid
* User ID.
*/
public function delete($uid);
/**
* Destroys the current session and removes session cookies.
*/
public function destroy();
/**
* Sets the write safe session handler.
*
* @todo: This should be removed once all database queries are removed from
* the session manager class.
*
* @var \Drupal\Core\Session\WriteSafeSessionHandlerInterface
*/
public function setWriteSafeHandler(WriteSafeSessionHandlerInterface $handler);
}