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

Breadcrumb

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

function FileOptions::getPhpClassPrefix

Sets the php class prefix which is prepended to all php generated classes from this .proto. Default is empty.

Generated from protobuf field <code>optional string php_class_prefix = 40;</code>

Return value

string

File

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

Class

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

Namespace

Google\Protobuf\Internal

Code

public function getPhpClassPrefix() {
    return isset($this->php_class_prefix) ? $this->php_class_prefix : '';
}
RSS feed
Powered by Drupal