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

Breadcrumb

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

function GPBUtil::getPreviouslyUnreservedClassNameWithoutPackage

1 call to GPBUtil::getPreviouslyUnreservedClassNameWithoutPackage()
GPBUtil::getFullClassName in vendor/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php

File

vendor/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php, line 324

Class

GPBUtil

Namespace

Google\Protobuf\Internal

Code

private static function getPreviouslyUnreservedClassNameWithoutPackage($name, $file_proto) {
    $parts = explode('.', $name);
    foreach ($parts as $i => $part) {
        $parts[$i] = static::getPreviouslyUnreservedClassNamePrefix($parts[$i], $file_proto) . $parts[$i];
    }
    return implode('\\', $parts);
}

API Navigation

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