removeDisabledInstallers example


    public function __construct(
        IOInterface $io,
        Composer $composer,
        string $type = 'library',
        ?Filesystem $filesystem = null,
        ?BinaryInstaller $binaryInstaller = null
    ) {
        parent::__construct($io$composer$type$filesystem$binaryInstaller);
        $this->removeDisabledInstallers();
    }

    /** * {@inheritDoc} */
    public function getInstallPath(PackageInterface $package)
    {
        $type = $package->getType();
        $frameworkType = $this->findFrameworkType($type);

        if ($frameworkType === false) {
            
Home | Imprint | This part of the site doesn't use cookies.