File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11
11
12
12
namespace FOS \OAuthServerBundle \Entity ;
13
13
14
- use Doctrine \ORM \ EntityManager ;
14
+ use Doctrine \Common \ Persistence \ ObjectManager ;
15
15
use FOS \OAuthServerBundle \Model \AuthCodeInterface ;
16
16
use FOS \OAuthServerBundle \Model \AuthCodeManager as BaseAuthCodeManager ;
17
17
@@ -31,7 +31,7 @@ class AuthCodeManager extends BaseAuthCodeManager
31
31
* @param \Doctrine\ORM\EntityManager $em
32
32
* @param string $class
33
33
*/
34
- public function __construct (EntityManager $ em , $ class )
34
+ public function __construct (ObjectManager $ em , $ class )
35
35
{
36
36
$ this ->em = $ em ;
37
37
$ this ->class = $ class ;
Original file line number Diff line number Diff line change 11
11
12
12
namespace FOS \OAuthServerBundle \Entity ;
13
13
14
- use Doctrine \ORM \ EntityManager ;
14
+ use Doctrine \Common \ Persistence \ ObjectManager ;
15
15
use FOS \OAuthServerBundle \Model \ClientInterface ;
16
16
use FOS \OAuthServerBundle \Model \ClientManager as BaseClientManager ;
17
17
@@ -32,7 +32,7 @@ class ClientManager extends BaseClientManager
32
32
*/
33
33
protected $ class ;
34
34
35
- public function __construct (EntityManager $ em , $ class )
35
+ public function __construct (ObjectManager $ em , $ class )
36
36
{
37
37
$ this ->em = $ em ;
38
38
$ this ->repository = $ em ->getRepository ($ class );
Original file line number Diff line number Diff line change 11
11
12
12
namespace FOS \OAuthServerBundle \Entity ;
13
13
14
- use Doctrine \ORM \ EntityManager ;
14
+ use Doctrine \Common \ Persistence \ ObjectManager ;
15
15
use FOS \OAuthServerBundle \Model \TokenInterface ;
16
16
use FOS \OAuthServerBundle \Model \TokenManager as BaseTokenManager ;
17
17
@@ -32,7 +32,7 @@ class TokenManager extends BaseTokenManager
32
32
*/
33
33
protected $ class ;
34
34
35
- public function __construct (EntityManager $ em , $ class )
35
+ public function __construct (ObjectManager $ em , $ class )
36
36
{
37
37
$ this ->em = $ em ;
38
38
$ this ->repository = $ em ->getRepository ($ class );
You can’t perform that action at this time.
0 commit comments