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

Breadcrumb

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

function Enum::setSyntax

The source syntax.

Generated from protobuf field <code>.google.protobuf.Syntax syntax = 5;</code>

Parameters

int $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Enum.php, line 204

Class

Enum
Enum type definition.

Namespace

Google\Protobuf

Code

public function setSyntax($var) {
    GPBUtil::checkEnum($var, \Google\Protobuf\Syntax::class);
    $this->syntax = $var;
    return $this;
}
RSS feed
Powered by Drupal