SessionFactory
final class SessionFactory (View source)
Creates independent session instances from resolved framework session configuration.
Database connectivity is resolved only when the selected driver requires it.
Constants
| private SUPPORTED_DRIVERS |
|
Methods
__construct(ApplicationContext $context, ContainerInterface $container, ResolvedRequestContext|null $requestContext = null)
Defines the application path context and lazy service resolution boundary.
create(SessionConfig $config)
Builds a session with the configured storage, cookie identity and retention settings.
Details
__construct
__construct(ApplicationContext $context, ContainerInterface $container, ResolvedRequestContext|null $requestContext = null)
Defines the application path context and lazy service resolution boundary.
create
SessionInterface
create(SessionConfig $config)
Builds a session with the configured storage, cookie identity and retention settings.