diff --git a/src/Integrations/Integrations/Symfony/SymfonyIntegration.php b/src/Integrations/Integrations/Symfony/SymfonyIntegration.php index 17d2f1c0476..65e27874ffe 100644 --- a/src/Integrations/Integrations/Symfony/SymfonyIntegration.php +++ b/src/Integrations/Integrations/Symfony/SymfonyIntegration.php @@ -272,7 +272,7 @@ function ($This, $scope, $args) { $span->resource = $this->getName() ?: $span->name; $span->service = \ddtrace_config_app_name($integration->frameworkPrefix); $span->type = Type::CLI; - $span->meta['symfony.console.command.class'] = get_class($this); + $span->meta['symfony.console.command.class'] = \get_class($this); $span->meta[Tag::COMPONENT] = SymfonyIntegration::NAME; } ]