Completed
Pull Request — master (#7)
by John
02:17
created

DummySecretLoader   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A load() 0 4 1
1
<?php
2
/*
3
 * This file is part of the KleijnWeb\JwtBundle package.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 */
8
9
namespace KleijnWeb\JwtBundle\Tests\Functional\App\Service;
10
11
use KleijnWeb\JwtBundle\Authenticator\JwtToken;
12
use KleijnWeb\JwtBundle\Authenticator\SecretLoader;
13
14
class DummySecretLoader implements SecretLoader
15
{
16
    /**
17
     * @param JwtToken $token
18
     *
19
     * @return string
20
     */
21
    public function load(JwtToken $token)
22
    {
23
        return 'externally loaded secret';
24
    }
25
}