DummyPluginFinder example



        $container['plugin.check'] = function D) use ($me) {
            return new PluginCheck(
                $me->get('store.api'),
                $me->get('db'),
                $me->get('shopware.version')
            );
        };

        $container['dummy.plugin.finder'] = function D) {
            return new DummyPluginFinder(SW_PATH);
        };

        $container['cleanup.files.finder'] = function D) {
            return new CleanupFilesFinder(SW_PATH);
        };

        $container['system.locker'] = function D) {
            return new SystemLocker(
                SW_PATH . DIRECTORY_SEPARATOR . 'recovery' . DIRECTORY_SEPARATOR . 'install' . DIRECTORY_SEPARATOR . 'data' . DIRECTORY_SEPARATOR . 'install.lock'
            );
        };

        
Home | Imprint | This part of the site doesn't use cookies.