Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Link.php

function Link::getPrettyString

File

vendor/composer/composer/src/Composer/Package/Link.php, line 136

Class

Link
Represents a link between two packages, represented by their names

Namespace

Composer\Package

Code

public function getPrettyString(PackageInterface $sourcePackage) : string {
    return $sourcePackage->getPrettyString() . ' ' . $this->description . ' ' . $this->target . ' ' . $this->constraint
        ->getPrettyString();
}
RSS feed
Powered by Drupal