addLink() addLink( $type, $package, $constraint, $sortPackages = false) Parameters $type $package $constraint $sortPackages
sortPackages() sortPackages(array $packages = array()) Sorts packages by importance (platform packages first, then PHP dependencies) and alphabetically. Parameters array $packages