$controllers = [
'storefront' => [
'extension/teapplix/notify'
],
'admin' => [],
];
this is main.php file's code
and this controller name ControllerExtensionTeapplixNotify
and this is file path where notify controller exists extensions/teapplix/storefront/controller/extension/teapplix/notify.php
class ControllerExtensionTeapplixNotify extends AController {
public function index() {
echo 'notify index function';
}
}
'storefront' => [
'extension/teapplix/notify'
],
'admin' => [],
];
this is main.php file's code
and this controller name ControllerExtensionTeapplixNotify
and this is file path where notify controller exists extensions/teapplix/storefront/controller/extension/teapplix/notify.php
class ControllerExtensionTeapplixNotify extends AController {
public function index() {
echo 'notify index function';
}
}