How to make dependency injection lazy and simple using property hooks in php

The problem is to use many objects in constructor but in way that only while path of script goes to one of the condition, then the service will be really created (initialised). I my opinion it is very valuable thing because sometimes one service can throw only the exception according do given data but all dependencies had to be set while constructing which is a big waste of resources.
So how to accomplished it using php?