Event/CakeORMSubscriber.php
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';
            }
        }
    }
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';
            }
        }
    }
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' ; } } }
Load table registry map

@param Event $event

@throws \Rad\Core\Exception\MissingBundleException
Load table registry map