Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SessionParamDecorator

Type of the SessionParam decorator

Hierarchy

  • SessionParamDecorator

Callable

  • Injects a session parameter into controller handler

    example
    
    class ExampleController {
      @Get('/')
      index(@SessionParam('foobar') foobar: string) {
      }
    }
    

    Parameters

    Returns any

Index

Constructors

Constructors

constructor

Generated using TypeDoc