Override this method to change which controller methods can be reached.
The default implementation disallows access to all methods defined on Cake\Controller\Controller,
and allows all public methods on all subclasses of this class.
/** * {@inheritdoc} * * @param string $action * @return bool */ public function isAction($action) { if ($action == 'construct') { return false; } return parent::isAction($action); }