Overview

Namespaces

  • Autarky
    • Config
      • Loaders
    • Console
    • Container
      • Exception
      • Factory
      • Proxy
    • Database
    • Errors
    • Events
    • Files
    • Http
    • Logging
    • Providers
    • Routing
      • Events
    • Testing
    • TwigTemplating
      • Extensions
    • Utils

Classes

  • CookieMiddleware
  • CookieProvider
  • CookieQueue
  • SessionMiddleware
  • SessionProvider
  • Overview
  • Namespace
  • Class

Class SessionMiddleware

Session middleware.

Autarky\Http\SessionMiddleware implements Symfony\Component\HttpKernel\HttpKernelInterface
Namespace: Autarky\Http
Located at Http/SessionMiddleware.php
Methods summary
public
# __construct( Symfony\Component\HttpKernel\HttpKernelInterface $kernel, Autarky\Application $app )

Parameters

$kernel
$app
public
# handle( Symfony\Component\HttpFoundation\Request $request, $type = Autarky\Http\HttpKernelInterface::MASTER_REQUEST, $catch = true )
protected
# initSession( Symfony\Component\HttpFoundation\Request $request )
protected
# closeSession( Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpFoundation\Response $response )
protected
# makeCookie( Symfony\Component\HttpFoundation\Request $request )
Properties summary
protected Symfony\Component\HttpKernel\HttpKernelInterface $kernel
#
protected Symfony\Component\HttpFoundation\Session\SessionInterface $session
#
protected boolean $forceStart

Whether the sessions should always be started. Normal behaviour is to start the sesion whenever an operation is requested from it.

Whether the sessions should always be started. Normal behaviour is to start the sesion whenever an operation is requested from it.

#
protected array $cookies

Additional cookie parameters to add to the session ID cookie.

Additional cookie parameters to add to the session ID cookie.

#
Autarky Framework API documentation generated by ApiGen