/** * {@inheritDoc} */ protected function generateWindowsProxyCode($bin, $link) { $code = parent::generateWindowsProxyCode($bin, $link); list($first, $code) = explode("\r\n", $code, 2); $append = "SET COMPOSER_SHARED_AUTOLOAD_PATH=" . escapeshellarg($this->getAutoloadPath()); return "{$first}\r\n{$append}\r\n{$code}"; }