protected function StabilityFlags::getCurrentStability in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/wikimedia/composer-merge-plugin/src/Merge/StabilityFlags.php \Wikimedia\Composer\Merge\StabilityFlags::getCurrentStability()
Get the current stability of a given package.
Parameters
string $name:
Return value
int|null Stability of null if not set
1 call to StabilityFlags::getCurrentStability()
- StabilityFlags::extractAll in vendor/
wikimedia/ composer-merge-plugin/ src/ Merge/ StabilityFlags.php - Extract and merge stability flags from the given collection of requires with another collection of stability flags.
File
- vendor/
wikimedia/ composer-merge-plugin/ src/ Merge/ StabilityFlags.php, line 175
Class
- StabilityFlags
- Adapted from Composer's RootPackageLoader::extractStabilityFlags @author Bryan Davis <bd808@bd808.com>
Namespace
Wikimedia\Composer\MergeCode
protected function getCurrentStability($name) {
return isset($this->stabilityFlags[$name]) ? $this->stabilityFlags[$name] : null;
}