protected function authenticateMenu(Menu $menu) {

		if(!self::$authenticator) {
				
			self::$authenticator = new DefaultMenuAuthenticator();
		
		}
		
		return self::$authenticator->authenticate($menu, Application::getInstance()->getCurrentUser());

	}
protected function authenticateMenu(Menu $menu) {

		if(!self::$authenticator) {
				
			self::$authenticator = new DefaultMenuAuthenticator();
		
		}
		
		return self::$authenticator->authenticate($menu, Application::getInstance()->getCurrentUser());

	}
protected function authenticateMenu ( Menu $ menu ) { if ( ! self :: $ authenticator ) { self :: $ authenticator = new DefaultMenuAuthenticator ( ) ; } return self :: $ authenticator -> authenticate ( $ menu , Application :: getInstance ( ) -> getCurrentUser ( ) ) ; }
authenticates the complete menu
invokes a previously set authenticator class or falls back
to a default menu authenticator

@param Menu $menu
@return boolean
@throws \vxPHP\Application\Exception\ApplicationException
authenticates the complete menu invokes a previously set authenticator class or falls back to a default menu authenticator