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

Breadcrumb

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

function Link::__toString

Same name in this branch
  1. 11.1.x vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Link.php \phpDocumentor\Reflection\DocBlock\Tags\Link::__toString()

File

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

Class

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

Namespace

Composer\Package

Code

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