fun graph(qualifier: Any = ApplicationScope::class, block: ComponentBuilderBlock): Graph
Create an ad-hoc instance of Graph.
qualifier
- A qualifier for the backing component.
block
- A builder block to register provider on the backing component.
Return
A instance of component containing all provider defined in the builder block.