You are here

public function ApiDoc::getName in Apigee API Catalog 8

Same name and namespace in other branches
  1. 8.2 src/Entity/ApiDoc.php \Drupal\apigee_api_catalog\Entity\ApiDoc::getName()

Gets the API Doc name.

Return value

string Name of the API Doc.

Overrides ApiDocInterface::getName

File

src/Entity/ApiDoc.php, line 99

Class

ApiDoc
Defines the API Doc entity.

Namespace

Drupal\apigee_api_catalog\Entity

Code

public function getName() : string {
  return $this
    ->get('name')->value;
}