function SourceContext::initOnce
3 calls to SourceContext::initOnce()
- Api::initOnce in vendor/
google/ protobuf/ src/ GPBMetadata/ Google/ Protobuf/ Api.php - SourceContext::__construct in vendor/
google/ protobuf/ src/ Google/ Protobuf/ SourceContext.php - Constructor.
- Type::initOnce in vendor/
google/ protobuf/ src/ GPBMetadata/ Google/ Protobuf/ Type.php
File
-
vendor/
google/ protobuf/ src/ GPBMetadata/ Google/ Protobuf/ SourceContext.php, line 11
Class
Namespace
GPBMetadata\Google\ProtobufCode
public static function initOnce() {
$pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
if (static::$is_initialized == true) {
return;
}
$pool->internalAddGeneratedFile('
�
$google/protobuf/source_context.protogoogle.protobuf""
SourceContext
file_name ( B�
com.google.protobufBSourceContextProtoPZ6google.golang.org/protobuf/types/known/sourcecontextpb�GPB�Google.Protobuf.WellKnownTypesbproto3', true);
static::$is_initialized = true;
}