Studio\Composer\StudioPlugin::registerStudioPackages PHP Метод

registerStudioPackages() публичный Метод

This function configures Composer to treat all Studio-managed paths as local path repositories, so that packages therein will be symlinked directly.
    public function registerStudioPackages()
    {
        $repoManager = $this->composer->getRepositoryManager();
        $composerConfig = $this->composer->getConfig();
        foreach ($this->getManagedPaths() as $path) {
            $this->io->writeError("[Studio] Loading path {$path}");
            $repoManager->prependRepository(new PathRepository(['url' => $path], $this->io, $composerConfig));
        }
    }