Completed
Push — master ( abdc92...de2b15 )
by Kai
01:58
created

HashFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 8
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getMd5Hash() 0 4 1
1
<?php namespace SimpleHash;
2
3
use SimpleHash\Container\HashContainer;
4
5
/**
6
 * Hash factory
7
 *
8
 * @package    SimpleHash
9
 * @author     Kai Hempel <[email protected]>
10
 * @copyright  2016 Kai Hempel <[email protected]>
11
 * @license    http://www.opensource.org/licenses/BSD-3-Clause  The BSD 3-Clause License
12
 * @link       https://www.kuweh.de/
13
 * @since      Class available since Release 1.0.0
14
 */
15
class HashFactory
16
{
17
18 1
    public function getMd5Hash()
19
    {
20 1
        return new HashContainer;
21
    }
22
}