Completed
Branch develop (6fd611)
by Quentin
02:32
created

AccessTokenRepository   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 2
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 16
ccs 0
cts 6
cp 0
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\Model\AccessTokenInterface;
6
use Majora\Component\OAuth\Repository\AccessTokenRepositoryInterface;
7
8
/**
9
 * AccessToken repository empty implementation.
10
 *
11
 * @see Majora\Component\OAuth\Repository\TokenRepositoryInterface
12
 */
13
class AccessTokenRepository implements AccessTokenRepositoryInterface
14
{
15
    /**
16
     * @see TokenRepositoryInterface::persist()
17
     */
18
    public function persist(AccessTokenInterface $accessToken)
19
    {
20
    }
21
22
    /**
23
     * @see TokenRepositoryInterface::remove()
24
     */
25
    public function remove(AccessTokenInterface $accessToken)
26
    {
27
    }
28
}
29