AppserverIo\Appserver\ServletEngine\Session\AbstractSessionHandler::__construct PHP Method

__construct() public method

Initializes the session handler with the configured params.
public __construct ( string $sessionMarshallerType = FilesystemSessionHandler::DEFAULT_SESSION_MARSHALLER_TYPE )
$sessionMarshallerType string The session marshaller type to use
    public function __construct($sessionMarshallerType = FilesystemSessionHandler::DEFAULT_SESSION_MARSHALLER_TYPE)
    {
        // create and inject an instance of the session marshaller to use
        $this->injectSessionMarshaller(new $sessionMarshallerType());
    }