Completed
Push — master ( 8feb15...b9cea8 )
by Florent
02:52
created

HasJWKFinderManager   A

Complexity

Total Complexity 16

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setJWKFinderManager() 0 4 1
A getJWKFinderManager() 0 4 1
1
<?php
2
3
/*
4
 * The MIT License (MIT)
5
 *
6
 * Copyright (c) 2014-2015 Spomky-Labs
7
 *
8
 * This software may be modified and distributed under the terms
9
 * of the MIT license.  See the LICENSE file for details.
10
 */
11
12
namespace Jose\Behaviour;
13
14
use Jose\JWKFinderManagerInterface;
15
16
trait HasJWKFinderManager
17
{
18
    /**
19
     * @var \Jose\JWKFinderManagerInterface
20
     */
21
    private $jwk_finder_manager;
22
23
    /**
24
     * @param \Jose\JWKFinderManagerInterface $jwk_finder_manager
25
     */
26
    private function setJWKFinderManager(JWKFinderManagerInterface $jwk_finder_manager)
27
    {
28
        $this->jwk_finder_manager = $jwk_finder_manager;
29
    }
30
31
    /**
32
     * @return \Jose\JWKFinderManagerInterface
33
     */
34
    private function getJWKFinderManager()
35
    {
36
        return $this->jwk_finder_manager;
37
    }
38
}
39