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
@@ -36,7 +36,7 @@ class AuthCodeManager extends BaseAuthCodeManager
36
36
* @param \Doctrine\ORM\EntityManager $em
37
37
* @param string $class
38
38
*/
39
- public function __construct (EntityManager $ em , $ class )
39
+ public function __construct (ObjectManager $ em , $ class )
40
40
{
41
41
$ this ->em = $ em ;
42
42
$ 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 \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