SessionFactory

Implements \Joomla\DI\ContainerAwareInterface

Factory for creating session API objects

since

4.0.0

Methods

configureSessionHandlerOptions

Resolve the options for the session handler.

configureSessionHandlerOptions(\Symfony\Component\OptionsResolver\OptionsResolver $resolver) : void
since

4.0.0

Arguments

$resolver

\Symfony\Component\OptionsResolver\OptionsResolverThe options resolver.

createSessionHandler

Create a session handler based on the application configuration.

createSessionHandler(array $options) : \Joomla\Session\HandlerInterface
since

4.0.0

Arguments

$options

arrayThe options used to instantiate the SessionInterface instance.

Response

\Joomla\Session\HandlerInterface