function StackTraceFormatter::formatName
2 calls to StackTraceFormatter::formatName()
- StackTraceFormatter::writeFrames in vendor/
open-telemetry/ sdk/ Common/ Exception/ StackTraceFormatter.php - @phan-suppress-next-line PhanTypeMismatchDeclaredParam @psalm-param Frames $frames @phan-suppress-next-line PhanTypeMismatchDeclaredParam @psalm-param Frames|null $enclosing
- StackTraceFormatter::writeInlineHeader in vendor/
open-telemetry/ sdk/ Common/ Exception/ StackTraceFormatter.php
File
-
vendor/
open-telemetry/ sdk/ Common/ Exception/ StackTraceFormatter.php, line 150
Class
- StackTraceFormatter
- @psalm-type Frame = array{ function: string, class: ?class-string, file: ?string, line: ?int, } @psalm-type Frames = non-empty-list<Frame>
Namespace
OpenTelemetry\SDK\Common\ExceptionCode
private static function formatName(string $name) : string {
return strtr($name, [
'\\' => '.',
]);
}