You are here

public function ApiDoc::setName 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::setName()

Sets the API Doc name.

Parameters

string $name: The API Doc name.

Return value

\Drupal\apigee_api_catalog\Entity\ApiDocInterface The called API Doc entity.

Overrides ApiDocInterface::setName

File

src/Entity/ApiDoc.php, line 106

Class

ApiDoc
Defines the API Doc entity.

Namespace

Drupal\apigee_api_catalog\Entity

Code

public function setName(string $name) : ApiDocInterface {
  $this
    ->set('name', $name);
  return $this;
}