AbstractKeyValuableCache::_getObjectIdentifier()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
dl 0
loc 2
ccs 0
cts 2
cp 0
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 1
crap 2
1
<?php
2
namespace LE_ACME2\Cache;
3
4
use LE_ACME2\AbstractKeyValuable;
5
6
abstract class AbstractKeyValuableCache {
7
8
    protected function __construct() {}
9
10
    protected function _getObjectIdentifier(AbstractKeyValuable $object) : string {
11
        return $object->getKeyDirectoryPath();
12
    }
13
}