Knowing which class and method had been called in PHP
Similar to the __FUNCTION__ call it is possible to make a call to __METHOD__ built-in function. It will return both name of the class and name of the function. Personally I don't comprehend this.
Comments
Post a Comment