गृहार्थमरोपितस्यादपश्येति न्यायः

It takes its origin from a lamp hanging over the threshold of a house, which, by its peculiar position, serves to light both the house and the path leading to it. It is used to denote something which serves a two-fold purpose at the same time.