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

Breadcrumb

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

function GPBUtil::getClassNameWithoutPackage

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

File

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

Class

GPBUtil

Namespace

Google\Protobuf\Internal

Code

public static function getClassNameWithoutPackage($name, $file_proto) {
    $parts = explode('.', $name);
    foreach ($parts as $i => $part) {
        $parts[$i] = static::getClassNamePrefix($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