I am bit new to dependency injection & came across subjected question while working.
Lets say I have a class 'Employee' which has one method this method say 'Promote' gets conditionally called that too on rarest scenario.
'Promote' method uses an object of 'ValueAddition', now is it best practice to have this objected injected via constructor & user global object or should I resolve the dependency in method itself?
What is recommended best practice? or any pointer on the life time of resolved dependency would be helpful.