$eventDispatcher
$eventDispatcher : \Composer\EventDispatcher\EventDispatcher
$eventDispatcher : \Composer\EventDispatcher\EventDispatcher
$io : \Composer\IO\IOInterface
__construct(\Composer\EventDispatcher\EventDispatcher $eventDispatcher, \Composer\IO\IOInterface $io = null)
\Composer\EventDispatcher\EventDispatcher | $eventDispatcher | |
\Composer\IO\IOInterface | $io |
dump(\Composer\Config $config, \Composer\Repository\InstalledRepositoryInterface $localRepo, \Composer\Package\PackageInterface $mainPackage, \Composer\Installer\InstallationManager $installationManager, $targetDir, $scanPsr0Packages = false, $suffix = '')
\Composer\Config | $config | |
\Composer\Repository\InstalledRepositoryInterface | $localRepo | |
\Composer\Package\PackageInterface | $mainPackage | |
\Composer\Installer\InstallationManager | $installationManager | |
$targetDir | ||
$scanPsr0Packages | ||
$suffix |
buildPackageMap(\Composer\Installer\InstallationManager $installationManager, \Composer\Package\PackageInterface $mainPackage, array $packages)
\Composer\Installer\InstallationManager | $installationManager | |
\Composer\Package\PackageInterface | $mainPackage | |
array | $packages |
parseAutoloads(array $packageMap, \Composer\Package\PackageInterface $mainPackage, boolean $filterOutRequireDevPackages = false) : array
Compiles an ordered list of namespace => path mappings
array | $packageMap | array of array(package, installDir-relative-to-composer.json) |
\Composer\Package\PackageInterface | $mainPackage | root package instance |
boolean | $filterOutRequireDevPackages | whether to filter out require-dev packages |
array('psr-0' => array('Ns\Foo' => array('installDir')))
createLoader(array $autoloads) : \Composer\Autoload\ClassLoader
Registers an autoloader based on an autoload map returned by parseAutoloads
array | $autoloads | see parseAutoloads return value |
validatePackage(\Composer\Package\PackageInterface $package)
\Composer\Package\PackageInterface | $package |
Throws an exception, if the package has illegal settings.
getIncludePathsFile(array $packageMap, \Composer\Util\Filesystem $filesystem, $basePath, $vendorPath, $vendorPathCode, $appBaseDirCode)
array | $packageMap | |
\Composer\Util\Filesystem | $filesystem | |
$basePath | ||
$vendorPath | ||
$vendorPathCode | ||
$appBaseDirCode |
getIncludeFilesFile(array $files, \Composer\Util\Filesystem $filesystem, $basePath, $vendorPath, $vendorPathCode, $appBaseDirCode)
array | $files | |
\Composer\Util\Filesystem | $filesystem | |
$basePath | ||
$vendorPath | ||
$vendorPathCode | ||
$appBaseDirCode |
getPathCode(\Composer\Util\Filesystem $filesystem, $basePath, $vendorPath, $path)
\Composer\Util\Filesystem | $filesystem | |
$basePath | ||
$vendorPath | ||
$path |
getAutoloadRealFile( $useClassMap, $useIncludePath, $targetDirLoader, $useIncludeFiles, $vendorPathCode, $appBaseDirCode, $suffix, $useGlobalIncludePath, $prependAutoloader, $staticPhpVersion = 70000)
$useClassMap | ||
$useIncludePath | ||
$targetDirLoader | ||
$useIncludeFiles | ||
$vendorPathCode | ||
$appBaseDirCode | ||
$suffix | ||
$useGlobalIncludePath | ||
$prependAutoloader | ||
$staticPhpVersion |
parseAutoloadsType(array $packageMap, $type, \Composer\Package\PackageInterface $mainPackage)
array | $packageMap | |
$type | ||
\Composer\Package\PackageInterface | $mainPackage |
getFileIdentifier(\Composer\Package\PackageInterface $package, $path)
\Composer\Package\PackageInterface | $package | |
$path |
filterPackageMap(array $packageMap, \Composer\Package\PackageInterface $mainPackage) : array
Filters out dev-dependencies
array | $packageMap | |
\Composer\Package\PackageInterface | $mainPackage |