Cakephp Get Present Name

[Solved] Cakephp Get Present Name | Php Frameworks Cakephp - Code Explorer | yomemimo.com
Question : cakephp get present name

Answered by : stormy-sloth-kpt3du0djzg1

$controllerName = $this->request->getParam('controller');
// Prior to 3.4.0
$controllerName = $this->request->param('controller');

Source : https://book.cakephp.org/3/en/controllers/request-response.html | Last Update : Fri, 31 Dec 21

Answers related to cakephp get present name

Code Explorer Popular Question For Php Frameworks Cakephp