buildDependencyInfo()
buildDependencyInfo( $depArray) : \Composer\Repository\Pear\DependencyInfo
Builds dependency information. It detects used package.xml format.
Parameters
$depArray | array |
Read PEAR packages using REST 1.0 interface
buildDependencyInfo( $depArray) : \Composer\Repository\Pear\DependencyInfo
Builds dependency information. It detects used package.xml format.
$depArray | array |
buildDependency10Info( $depArray) : array<mixed,\Composer\Repository\Pear\DependencyConstraint>
Builds dependency information from package.xml 1.0 format
https://pear.php.net/manual/en/guide.developers.package2.dependencies.php
package.xml 1.0 format consists of array of { type="php|os|sapi|ext|pkg" rel="has|not|eq|ge|gt|le|lt" optional="yes" channel="channelName" name="extName|packageName" }
$depArray | array Dependency data in package.xml 1.0 format |
buildDependency20Info( $depArray) : \Composer\Repository\Pear\DependencyInfo
Builds dependency information from package.xml 2.0 format
$depArray | array Dependency data in package.xml 1.0 format |
buildDepExtensionConstraints( $depItem, $depType) : array<mixed,\Composer\Repository\Pear\DependencyConstraint>
Builds dependency constraint of 'extension' type
$depItem | array dependency constraint or array of dependency constraints |
|
$depType | string target type of building constraint. |
buildDepPackageConstraints( $depItem, $depType) : array<mixed,\Composer\Repository\Pear\DependencyConstraint>
Builds dependency constraint of 'package' type
$depItem | array dependency constraint or array of dependency constraints |
|
$depType | string target type of building constraint. |