Instance Method
build(with:_:)
Override this method to implement the napkin building logic.
func build(with component: Component, _ dynamicBuildDependency: DynamicBuildDependency) -> Router
Parameters
- component
The freshly created component to use for dependency injection.
- dynamicBuildDependency
The runtime dependencies for building.
Return Value
The router representing the built napkin.
Discussion
Important
Do not call this method directly. Use build(withDynamicBuildDependency:dynamicComponentDependency:) instead.