File tree 1 file changed +3
-3
lines changed
src/Symfony/Bridge/Doctrine/Security/User
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,14 +107,14 @@ public function supportsClass($class)
107
107
return $ class === $ this ->getClass () || is_subclass_of ($ class , $ this ->getClass ());
108
108
}
109
109
110
- private function getEntityManager ()
110
+ private function getObjectManager ()
111
111
{
112
112
return $ this ->registry ->getManager ($ this ->managerName );
113
113
}
114
114
115
115
private function getRepository ()
116
116
{
117
- return $ this ->getEntityManager ()->getRepository ($ this ->getClass () );
117
+ return $ this ->getObjectManager ()->getRepository ($ this ->classOrAlias );
118
118
}
119
119
120
120
private function getClass ()
@@ -134,6 +134,6 @@ private function getClass()
134
134
135
135
private function getClassMetadata ()
136
136
{
137
- return $ this ->getEntityManager ()->getClassMetadata ($ this ->getClass () );
137
+ return $ this ->getObjectManager ()->getClassMetadata ($ this ->classOrAlias );
138
138
}
139
139
}
You can’t perform that action at this time.
0 commit comments