Instance Method
finalStageBuild(with:_:)
Abstract method that must be overriden to implement the napkin building logic using the given component and dynamic dependency, as the last building stage.
func finalStageBuild(with component: Component, _ dynamicDependency: DynamicBuildDependency) -> Router
Parameters
- component
The corresponding DI component to use.
- dynamicDependency
The given dynamic dependency.
Return Value
The router of the napkin.
Discussion
note
This method should never be invoked directly. Instead consumers of this builder should invoke finalStageBuild(with dynamicDependency:).