PHP Class AppserverIo\Appserver\ServletEngine\Session\SessionHandlerFactory

Show file Open project: appserver-io/appserver

Public Methods

Method Description
create ( AppserverIo\Appserver\Core\Api\Node\SessionHandlerNodeInterface $sessionHandlerNode, AppserverIo\Appserver\ServletEngine\SessionSettingsInterface $sessionSettings ) : AppserverIo\Appserver\ServletEngine\Session\SessionHandlerInterface Create and return a new instance of the session handler with the passed configuration.

Method Details

create() public static method

Create and return a new instance of the session handler with the passed configuration.
public static create ( AppserverIo\Appserver\Core\Api\Node\SessionHandlerNodeInterface $sessionHandlerNode, AppserverIo\Appserver\ServletEngine\SessionSettingsInterface $sessionSettings ) : AppserverIo\Appserver\ServletEngine\Session\SessionHandlerInterface
$sessionHandlerNode AppserverIo\Appserver\Core\Api\Node\SessionHandlerNodeInterface The session handler configuration
$sessionSettings AppserverIo\Appserver\ServletEngine\SessionSettingsInterface The session settings
return AppserverIo\Appserver\ServletEngine\Session\SessionHandlerInterface The session handler instance