diff --git a/src/View/Helper/MenuHelper.php b/src/View/Helper/MenuHelper.php
index <HASH>..<HASH> 100644
--- a/src/View/Helper/MenuHelper.php
+++ b/src/View/Helper/MenuHelper.php
@@ -1,6 +1,7 @@
 <?php
 namespace Menu\View\Helper;
 
+use Cake\Core\Configure;
 use Cake\View\Helper;
 use Cake\View\View;
 
@@ -14,6 +15,7 @@ class MenuHelper extends Helper
      */
     public function getMenu($name)
     {
+        $allControllers = Configure::readOrFail('Menu.allControllers');
         $menu = [];
         // get all controllers
         $controllers = $this->_getAllControllers();
@@ -21,6 +23,10 @@ class MenuHelper extends Helper
             if (is_callable([$controller, 'getMenu'])) {
                 $menu = array_merge($menu, $controller::getMenu($name));
             }
+
+            if (!$allControllers) {
+                break;
+            }
         }
         return $menu;
     }
add logic for calling getMenu method from all controllers or from a single one (ask #<I>)