Lines Matching refs:installed
25 private static $installed = array ( variable in Composer\\InstalledVersions
237 foreach (self::getInstalled() as $installed) {
238 $packages[] = array_keys($installed['versions']);
259 foreach (self::getInstalled() as $installed) {
260 if (isset($installed['versions'][$packageName])) {
300 foreach (self::getInstalled() as $installed) {
301 if (!isset($installed['versions'][$packageName])) {
306 if (isset($installed['versions'][$packageName]['pretty_version'])) {
307 $ranges[] = $installed['versions'][$packageName]['pretty_version'];
309 if (array_key_exists('aliases', $installed['versions'][$packageName])) {
310 $ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
312 if (array_key_exists('replaced', $installed['versions'][$packageName])) {
313 $ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
315 if (array_key_exists('provided', $installed['versions'][$packageName])) {
316 $ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
331 foreach (self::getInstalled() as $installed) {
332 if (!isset($installed['versions'][$packageName])) {
336 if (!isset($installed['versions'][$packageName]['version'])) {
340 return $installed['versions'][$packageName]['version'];
352 foreach (self::getInstalled() as $installed) {
353 if (!isset($installed['versions'][$packageName])) {
357 if (!isset($installed['versions'][$packageName]['pretty_version'])) {
361 return $installed['versions'][$packageName]['pretty_version'];
373 foreach (self::getInstalled() as $installed) {
374 if (!isset($installed['versions'][$packageName])) {
378 if (!isset($installed['versions'][$packageName]['reference'])) {
382 return $installed['versions'][$packageName]['reference'];
394 $installed = self::getInstalled();
396 return $installed[0]['root'];
407 return self::$installed;
430 self::$installed = $data;
443 $installed = array();
449 $installed[] = self::$installedByVendor[$vendorDir];
451 $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
456 $installed[] = self::$installed;
458 return $installed;