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

Breadcrumb

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

function Method::__construct

Same name in this branch
  1. 11.1.x vendor/phpunit/php-code-coverage/src/Report/Xml/Method.php \SebastianBergmann\CodeCoverage\Report\Xml\Method::__construct()
  2. 11.1.x vendor/nikic/php-parser/lib/PhpParser/Builder/Method.php \PhpParser\Builder\Method::__construct()
  3. 11.1.x vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Method.php \phpDocumentor\Reflection\DocBlock\Tags\Method::__construct()

Constructor.

Parameters

array $data {: Optional. Data for populating the Message object.

@type string $name The simple name of this method. @type string $request_type_url A URL of the input message type. @type bool $request_streaming If true, the request is streamed. @type string $response_type_url The URL of the output message type. @type bool $response_streaming If true, the response is streamed. @type array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $options Any metadata attached to the method. @type int $syntax The source syntax of this method. }

Overrides Message::__construct

File

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

Class

Method
Method represents a method of an API interface.

Namespace

Google\Protobuf

Code

public function __construct($data = NULL) {
    \GPBMetadata\Google\Protobuf\Api::initOnce();
    parent::__construct($data);
}

API Navigation

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