* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Session; use Symfony\Component\HttpFoundation\Session\SessionInterface; /** * SessionHandlerInterface is used to set PHP Sessions cookie parameters */ interface SessionHandlerInterface { /** * Initialize session * * @return void */ public function init(): void; /** * Return the current session * * @return ?SessionInterface */ public function getSession(): ?SessionInterface; }