Upgrade framework
This commit is contained in:
@@ -20,29 +20,23 @@ interface SessionBagInterface
|
||||
{
|
||||
/**
|
||||
* Gets this bag's name.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getName();
|
||||
public function getName(): string;
|
||||
|
||||
/**
|
||||
* Initializes the Bag.
|
||||
*
|
||||
* @param array $array
|
||||
*/
|
||||
public function initialize(array &$array);
|
||||
|
||||
/**
|
||||
* Gets the storage key for this bag.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getStorageKey();
|
||||
public function getStorageKey(): string;
|
||||
|
||||
/**
|
||||
* Clears out data from bag.
|
||||
*
|
||||
* @return mixed Whatever data was contained
|
||||
*/
|
||||
public function clear();
|
||||
public function clear(): mixed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user