public static function run()
    {
        $smConfig = include dirname(__DIR__) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'module.config.php';
        $serviceManager = new ServiceManager(new ServiceManagerConfig($smConfig['service_manager']));
        /** @var MelisDbDeployDiscoveryService $discovery */
        try {
            $discovery = $serviceManager->get('MelisDbDeployDiscoveryService');
            $discovery->processing();
        } catch (ConfigFileNotFoundException $exception) {
            // If missing config file, due nothing
            return;
        }
    }
public static function run()
    {
        $smConfig = include dirname(__DIR__) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'module.config.php';
        $serviceManager = new ServiceManager(new ServiceManagerConfig($smConfig['service_manager']));
        /** @var MelisDbDeployDiscoveryService $discovery */
        try {
            $discovery = $serviceManager->get('MelisDbDeployDiscoveryService');
            $discovery->processing();
        } catch (ConfigFileNotFoundException $exception) {
            // If missing config file, due nothing
            return;
        }
    }
public static function run ( ) { $ smConfig = include dirname ( __DIR__ ) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'module.config.php' ; $ serviceManager = new ServiceManager ( new ServiceManagerConfig ( $ smConfig [ 'service_manager' ] ) ) ; /** @var MelisDbDeployDiscoveryService $discovery */ try { $ discovery = $ serviceManager -> get ( 'MelisDbDeployDiscoveryService' ) ; $ discovery -> processing ( ) ; } catch ( ConfigFileNotFoundException $ exception ) { // If missing config file, due nothing return ; } }
Trigger the processing of discovery patch and deploy sql migration
@param Event $event
Trigger the processing of discovery patch and deploy sql migration