Easy way to get parent class/method that is calling current method

echo print_r(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 2));
Share on facebook
Share on twitter
Share on linkedin
Share on whatsapp