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

Breadcrumb

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

function Method::setName

Same name in this branch
  1. 11.1.x vendor/phpunit/php-code-coverage/src/Report/Xml/Method.php \SebastianBergmann\CodeCoverage\Report\Xml\Method::setName()

The simple name of this method.

Generated from protobuf field <code>string name = 1;</code>

Parameters

string $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Method.php, line 106

Class

Method
Method represents a method of an API interface.

Namespace

Google\Protobuf

Code

public function setName($var) {
    GPBUtil::checkString($var, True);
    $this->name = $var;
    return $this;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal