We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0143930 commit 6e5fe19Copy full SHA for 6e5fe19
src/Turbo/src/Doctrine/ClassUtil.php
@@ -11,6 +11,7 @@
11
12
namespace Symfony\UX\Turbo\Doctrine;
13
14
+use Doctrine\Common\Util\ClassUtils as LegacyClassUtils;
15
use Symfony\Component\VarExporter\LazyObjectInterface;
16
17
/**
@@ -30,8 +31,8 @@ public static function getEntityClass(object $entity): string
30
31
}
32
33
// @legacy for old versions of Doctrine
- if (class_exists(ClassUtils::class)) {
34
- return ClassUtils::getClass($entity);
+ if (class_exists(LegacyClassUtils::class)) {
35
+ return LegacyClassUtils::getClass($entity);
36
37
38
return $entity::class;
0 commit comments