How to know which file is initializing the object?
<p>Is it possible to know in which file the object is being initialized? </p>

<p>For example, I want to prevent the class from running if it's in X file. I know it defeats the purpose of being re-usable, etc etc.  I don't know if it's possible in PHP or possible at all. </p>
