public function getSetSessionHandlerMiddleware(ContainerInterface $container): SetSessionHandlerMiddleware
    {
        $handler = $container->get(SessionHandlerInterface::class);

        return new SetSessionHandlerMiddleware($handler);
    }
public function getSetSessionHandlerMiddleware(ContainerInterface $container): SetSessionHandlerMiddleware
    {
        $handler = $container->get(SessionHandlerInterface::class);

        return new SetSessionHandlerMiddleware($handler);
    }
public function getSetSessionHandlerMiddleware ( ContainerInterface $ container ) : SetSessionHandlerMiddleware { $ handler = $ container -> get ( SessionHandlerInterface :: class ) ; return new SetSessionHandlerMiddleware ( $ handler ) ; }
Return a set session handler middleware.

@param \Psr\Container\ContainerInterface $container
@return \Ellipse\Session\SetSessionHandlerMiddleware
Return a set session handler middleware .