f98f9ae8ff
Rename ArraySessionStorage to make it clear the session is a mock for testing purposes only. Has BC class for ArraySessionStorage Added sanity check when starting the session. Fixed typos and incorrect php extension test method session_module_name() also sets session.save_handler, so must use extension_loaded() to check if module exist or not. Respect autostart settings.
35 lines
619 B
PHP
35 lines
619 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Symfony package.
|
|
*
|
|
* (c) Fabien Potencier <fabien@symfony.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Symfony\Component\HttpFoundation;
|
|
|
|
/**
|
|
* Session Bag store.
|
|
*
|
|
* @author Drak <drak@zikula.org>
|
|
*/
|
|
interface SessionBagInterface
|
|
{
|
|
/**
|
|
* Initializes the Bag
|
|
*
|
|
* @param array $array
|
|
*/
|
|
function initialize(array &$array);
|
|
|
|
/**
|
|
* Gets the storage key for this bag.
|
|
*
|
|
* @return string
|
|
*/
|
|
function getStorageKey();
|
|
}
|