메소드 | 설명 | |
---|---|---|
clear ( ) | {@inheritDoc} | |
fromContainerBuildingCallback ( callable $sessionLoader ) : self | ||
get ( string $key, $default = null ) | {@inheritDoc} | |
has ( string $key ) : boolean | {@inheritDoc} | |
hasChanged ( ) : boolean | {@inheritDoc} | |
isEmpty ( ) : boolean | {@inheritDoc} | |
jsonSerialize ( ) | {@inheritDoc} | |
remove ( string $key ) | {@inheritDoc} | |
set ( string $key, $value ) | {@inheritDoc} |
메소드 | 설명 | |
---|---|---|
__construct ( ) | Instantiation via __construct is not allowed, use {@see LazySession::fromContainerBuildingCallback} instead | |
getRealSession ( ) : PSR7Sessions\Storageless\Session\SessionInterface | Get or initialize the session | |
loadSession ( ) : PSR7Sessions\Storageless\Session\SessionInterface | Type-safe wrapper that ensures that the given callback returns the expected type of object, when called |
public static fromContainerBuildingCallback ( callable $sessionLoader ) : self | ||
$sessionLoader | callable | |
리턴 | self |