src/Composer/StudioPlugin.php
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
            ));
        }
    }
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
            ));
        }
    }
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 ) ) ; } }
Register all managed paths with Composer.

This function configures Composer to treat all Studio-managed paths as local path repositories, so that packages
therein will be symlinked directly.
Register all managed paths with Composer .