Closed nibra closed 6 years ago
If you have to instatiate a command in order to store it in the container, it actually is not lazy loaded. Using a callable as a factory solves that.
Changed sample code to use a callable instead of direct instantiation.
None
If you have to instatiate a command in order to store it in the container, it actually is not lazy loaded. Using a callable as a factory solves that.
Summary of Changes
Changed sample code to use a callable instead of direct instantiation.
Testing Instructions
None
Documentation Changes Required
None