public function loadTableRegistryMap(Event $event)
    {
        foreach (Bundles::getLoaded() as $bundleName) {
            $mapDir = Bundles::getPath($bundleName) . DS . 'Domain' . DS . 'map';

            if (is_file($mapDir . DS . 'table_registry_config.php')) {
                require_once $mapDir . DS . 'table_registry_config.php';
            }
        }
    }