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

Breadcrumb

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

function EnumReservedRange::setEnd

Inclusive.

Generated from protobuf field <code>optional int32 end = 2;</code>

Parameters

int $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto/EnumReservedRange.php, line 118

Class

EnumReservedRange
Range of reserved numeric values. Reserved values may not be used by entries in the same enum. Reserved ranges may not overlap. Note that this is distinct from DescriptorProto.ReservedRange in that it is inclusive such that it can appropriately…

Namespace

Google\Protobuf\Internal\EnumDescriptorProto

Code

public function setEnd($var) {
    GPBUtil::checkInt32($var);
    $this->end = $var;
    return $this;
}
RSS feed
Powered by Drupal