I was wondering if it was possible to determine what the current namespace was when the function was being called. I have this function declaration:
i don't know if i'm missing something, but with this:
http://php.net/manual/en/reflectionclass.getnamespacename.php, i think that you can get namespace of the object you are using.