You are here

public function Link::getUri in JSON:API 8.2

Gets the link's URI.

Return value

\Drupal\Core\Url The link's URI as a Url object.

File

src/JsonApiResource/Link.php, line 97

Class

Link
Represents an RFC8288 based link.

Namespace

Drupal\jsonapi\JsonApiResource

Code

public function getUri() {
  return $this->uri;
}