protected function initializeBinDir() { parent::initializeBinDir(); file_put_contents($this->binDir . '/composer-php', $this->generateUnixyPhpProxyCode()); @chmod($this->binDir . '/composer-php', 0777); file_put_contents($this->binDir . '/composer-php.bat', $this->generateWindowsPhpProxyCode()); @chmod($this->binDir . '/composer-php.bat', 0777); }