Completed
Push — nyx-refresh-token-orm-config ( 30c2e2...f6baea )
by Quentin
05:18
created

AccessTokenRepository   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 16
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A persist() 0 3 1
A remove() 0 3 1
1
<?php
2
3
namespace Majora\Component\OAuth\Repository\Null;
4
5
use Majora\Component\OAuth\Repository\AccessTokenRepositoryInterface;
6
7
/**
8
 * AccessToken repository empty implementation.
9
 *
10
 * @see Majora\Component\OAuth\Repository\TokenRepositoryInterface
11
 */
12
class AccessTokenRepository implements AccessTokenRepositoryInterface
13
{
14
    /**
15
     * @see TokenRepositoryInterface::persist()
16
     */
17
    public function persist(AccessTokenInterface $accessToken)
18
    {
19
    }
20
21
    /**
22
     * @see TokenRepositoryInterface::remove()
23
     */
24
    public function remove(AccessTokenInterface $accessToken)
25
    {
26
    }
27
}
28