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

Breadcrumb

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

function Mixin::__construct

Same name in this branch
  1. 11.1.x vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Mixin.php \phpDocumentor\Reflection\DocBlock\Tags\Mixin::__construct()

Constructor.

Parameters

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

@type string $name The fully qualified name of the interface which is included. @type string $root If non-empty specifies a path under which inherited HTTP paths are rooted. }

Overrides Message::__construct

File

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

Class

Mixin
Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows:

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