In any definition, you can use injection parameter: parameter that will be injected and used by your definition:
Defining an injection parameter
Below is an example of injection parameter. We established that we need a
id parameter to build of
Injecting with values
In contrary to resolved dependencies (resolved with with
inject), injection parameter are passed through the resolution API with parameter.
For that it will be necessary to use
If we want to have multiple parameters in our definition, we can insert the parameters as properties of a class.