Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ParamsDecorator

Hierarchy

  • ParamsDecorator

Callable

  • Injects all path parameters as object into controller handler

    example
    
    class ExampleController {
      @Get('/:arg0/:arg1')
      index(@Params() params : object) {
        // params is `{ arg0: "foo", arg1: "bar" }` for url "/foo/bar"
      }
    }
    

    Parameters

    Returns any

Index

Constructors

Constructors

constructor

Generated using TypeDoc