AbstractAdapter   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getAdapter() 0 4 1
getClient() 0 1 ?
1
<?php namespace AdammBalogh\KeyValueStore\Adapter;
2
3
use AdammBalogh\KeyValueStore\Contract\AdapterInterface;
4
5
abstract class AbstractAdapter implements AdapterInterface
6
{
7
    /**
8
     * @return $this
9
     */
10
    public function getAdapter()
11
    {
12
        return $this;
13
    }
14
15
    /**
16
     * @return mixed
17
     */
18
    abstract public function getClient();
19
}
20