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

Breadcrumb

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

function FileOptions::setObjcClassPrefix

Sets the objective c class prefix which is prepended to all objective c generated classes from this .proto. There is no default.

Generated from protobuf field <code>optional string objc_class_prefix = 36;</code>

Parameters

string $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php, line 833

Class

FileOptions
Generated from protobuf message <code>google.protobuf.FileOptions</code>

Namespace

Google\Protobuf\Internal

Code

public function setObjcClassPrefix($var) {
    GPBUtil::checkString($var, True);
    $this->objc_class_prefix = $var;
    return $this;
}

API Navigation

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