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

Breadcrumb

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

function Annotation::getEnd

Identifies the ending offset in bytes in the generated code that relates to the identified object. The end offset should be one past the last relevant byte (so the length of the text = end - begin).

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

Return value

int

File

vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation.php, line 187

Class

Annotation
Generated from protobuf message <code>google.protobuf.GeneratedCodeInfo.Annotation</code>

Namespace

Google\Protobuf\Internal\GeneratedCodeInfo

Code

public function getEnd() {
    return isset($this->end) ? $this->end : 0;
}

API Navigation

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