winter / io.jentz.winter.adapter / ApplicationGraphOnlyAdapter / getGraph

getGraph

fun getGraph(instance: Any): Graph

Overrides Adapter.getGraph

Get dependency graph for instance.

Parameters

instance - The instance to get the graph for.

Exceptions

io.jentz.winter.WinterException - if no graph for instance exists.

Return
The graph for instance.