You can use this $this->router->fetch_class(); to get current controller name.
You can use this $this->router->fetch_method(); to get current method.

BY Best Interview Question ON 13 Jan 2019

Suggest An Answer