1
0
Fork 0

Rename runAutoloader to dumpAutoloader, refs #3453

pull/2604/merge
Jordi Boggiano 2014-12-29 20:29:13 +00:00
parent b8f4960f0d
commit 095dc61295
3 changed files with 10 additions and 10 deletions

View File

@ -114,7 +114,7 @@ EOT
->setPreferSource($preferSource)
->setPreferDist($preferDist)
->setDevMode(!$input->getOption('no-dev'))
->setRunAutoloader(!$input->getOption('no-autoloader'))
->setDumpAutoloader(!$input->getOption('no-autoloader'))
->setRunScripts(!$input->getOption('no-scripts'))
->setOptimizeAutoloader($optimize)
->setIgnorePlatformRequirements($input->getOption('ignore-platform-reqs'))

View File

@ -118,7 +118,7 @@ EOT
->setPreferSource($preferSource)
->setPreferDist($preferDist)
->setDevMode(!$input->getOption('no-dev'))
->setRunAutoloader(!$input->getOption('no-autoloader'))
->setDumpAutoloader(!$input->getOption('no-autoloader'))
->setRunScripts(!$input->getOption('no-scripts'))
->setOptimizeAutoloader($optimize)
->setUpdate(true)

View File

@ -105,7 +105,7 @@ class Installer
protected $dryRun = false;
protected $verbose = false;
protected $update = false;
protected $runAutoloader = true;
protected $dumpAutoloader = true;
protected $runScripts = true;
protected $ignorePlatformReqs = false;
protected $preferStable = false;
@ -318,7 +318,7 @@ class Installer
}
}
if ($this->runAutoloader) {
if ($this->dumpAutoloader) {
// write autoloader
if ($this->optimizeAutoloader) {
$this->io->write('<info>Generating optimized autoload files</info>');
@ -1170,12 +1170,12 @@ class Installer
/**
* set whether to run autoloader or not
*
* @param boolean $runAutoloader
* @param boolean $dumpAutoloader
* @return Installer
*/
public function setRunAutoloader($runAutoloader = true)
public function setDumpAutoloader($dumpAutoloader = true)
{
$this->runAutoloader = (boolean) $runAutoloader;
$this->dumpAutoloader = (boolean) $dumpAutoloader;
return $this;
}