File tree Expand file tree Collapse file tree 3 files changed +0
-5
lines changed Expand file tree Collapse file tree 3 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,6 @@ public function dehydrate(object $object): mixed
8282 private function objectManagerFor (string $ class ): ?ObjectManager
8383 {
8484 if (class_exists ($ class )) {
85- // Keep the standard way for a class
86- // todo cache/warmup an array of classes that are "doctrine objects"
8785 foreach ($ this ->managerRegistries as $ registry ) {
8886 if ($ om = $ registry ->getManagerForClass ($ class )) {
8987 return self ::ensureManagedObject ($ om , $ class );
@@ -102,7 +100,6 @@ private function objectManagerFor(string $class): ?ObjectManager
102100 // Fore more details :
103101 // @see \Doctrine\ORM\Tools\ResolveTargetEntityListener
104102
105- // todo cache/warmup an array of interfaces that are resolved "doctrine objects"
106103 foreach ($ this ->managerRegistries as $ registry ) {
107104 foreach ($ registry ->getManagers () as $ om ) {
108105 // the getClassMetaData can indeed throw an exception
Original file line number Diff line number Diff line change 44
55class Aliased
66{
7- // public string $address;
87 public string $ name ;
98}
Original file line number Diff line number Diff line change 33namespace Symfony \UX \LiveComponent \Tests \Fixtures \Entity ;
44
55interface AliasedEntityInterface {
6-
76}
You can’t perform that action at this time.
0 commit comments