/** * Scans a directory containing Composer-generated autoload files. * * @param string $dir * Directory to look for Composer-generated files. Typically this is the * ../vendor/composer dir. * @param bool $relative * If TRUE, the paths will be relative to $this->localDirectory. */ function composerDir($dir, $relative = TRUE) { $relative && ($dir = $this->localDirectory . $dir); $dir = ComposerDir::create($dir); $dir->writeToAdapter($this->master); }
/** * {@inheritdoc} */ function composerDir($dir) { $dir = ComposerDir::create($dir); $dir->writeToAdapter($this); }