function ShowCommand::getVersionStyle
Return value
array|string|string[]
1 call to ShowCommand::getVersionStyle()
- ShowCommand::printMeta in vendor/
composer/ composer/ src/ Composer/ Command/ ShowCommand.php - Prints package metadata.
File
-
vendor/
composer/ composer/ src/ Composer/ Command/ ShowCommand.php, line 790
Class
- ShowCommand
- @author Robert Schönthal <seroscho@googlemail.com> @author Jordi Boggiano <j.boggiano@seld.be> @author Jérémy Romey <jeremyFreeAgent> @author Mihai Plasoianu <mihai@plasoianu.de>
Namespace
Composer\CommandCode
protected function getVersionStyle(PackageInterface $latestPackage, PackageInterface $package) {
return $this->updateStatusToVersionStyle($this->getUpdateStatus($latestPackage, $package));
}