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

Breadcrumb

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

function FileOptions::getPhpMetadataNamespace

Use this option to change the namespace of php generated metadata classes. Default is empty. When this option is empty, the proto file name will be used for determining the namespace.

Generated from protobuf field <code>optional string php_metadata_namespace = 44;</code>

Return value

string

File

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

Class

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

Namespace

Google\Protobuf\Internal

Code

public function getPhpMetadataNamespace() {
    return isset($this->php_metadata_namespace) ? $this->php_metadata_namespace : '';
}

API Navigation

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