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

HashFactory::getMd5Hash()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 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
}