Class MvcRouter

Index

Constructor methods

Methods

Constructor methods

constructor(): MvcRouter

Returns

MvcRouter

Methods

public format(obj: any): string

Parameters

  • obj: any

Returns

string

public parse(uri: string): any

Parameters

  • uri: string

Returns

any

public register(pattern: string, defaults?: any, constraints?: any)

Parameters

  • pattern: string
  • defaults?: any optional
  • constraints?: any optional