Documentation / @blazetrails/actionpack / Journey / Formatter
Class: Formatter
Defined in: packages/actionpack/lib/action-dispatch/journey/formatter.ts:59
Constructors
Constructor
new Formatter(
routes):Formatter
Defined in: packages/actionpack/lib/action-dispatch/journey/formatter.ts:64
Parameters
| Parameter | Type |
|---|---|
routes | FormatterHost |
Returns
Formatter
Properties
routes
readonlyroutes:FormatterHost
Defined in: packages/actionpack/lib/action-dispatch/journey/formatter.ts:60
Methods
clear()
clear():
void
Defined in: packages/actionpack/lib/action-dispatch/journey/formatter.ts:127
Returns
void
eagerLoadBang()
eagerLoadBang():
void
Defined in: packages/actionpack/lib/action-dispatch/journey/formatter.ts:131
Returns
void
generate()
generate(
name,options,pathParameters):RouteWithParams|MissingRoute
Defined in: packages/actionpack/lib/action-dispatch/journey/formatter.ts:68
Parameters
| Parameter | Type |
|---|---|
name | string | null |
options | Record<string, unknown> |
pathParameters | Record<string, unknown> |