| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 13 |
| Ratio | 100 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function persistNewAccessToken(AccessTokenEntityInterface $accessTokenEntity) |
||
| 17 | { |
||
| 18 | $this->_em->persist($accessTokenEntity); |
||
| 19 | $this->_em->flush(); |
||
| 20 | return $accessTokenEntity; |
||
| 21 | } |
||
| 22 | /** |
||
| 23 | * {@inheritdoc} |
||
| 24 | */ |
||
| 25 | public function revokeAccessToken($tokenId) |
||
| 26 | { |
||
| 27 | // Some logic here to revoke the access token |
||
| 28 | } |
||
| 29 | /** |
||
| 44 | } |