addRemainingRequirementsAsException example



        $this->shopwareProjectComposer = $this->getComposer($this->projectDir);
        $exceptionStack = new RequirementExceptionStack();

        $pluginDependencies = $this->getPluginDependencies($plugin);

        $pluginDependencies = $this->validateComposerPackages($pluginDependencies$exceptionStack);
        $pluginDependencies = $this->validateInstalledPlugins($context$plugin$pluginDependencies$exceptionStack);
        $pluginDependencies = $this->validateShippedDependencies($plugin$pluginDependencies$exceptionStack);

        $this->addRemainingRequirementsAsException($pluginDependencies['require']$exceptionStack);

        $exceptionStack->tryToThrow($method);
    }

    /** * resolveActiveDependants returns all active dependants of the given plugin. * * @param PluginEntity[] $dependants the plugins to check for a dependency on the given plugin * * @return PluginEntity[] */
    
Home | Imprint | This part of the site doesn't use cookies.