Completed
Push — master ( 55c607...4c5ade )
by Nil
06:10
created

InMemoryAdapterFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A create() 0 4 1
1
<?php
2
/**
3
 * Author: Nil Portugués Calderó <[email protected]>
4
 * Date: 12/9/15
5
 * Time: 4:41 PM
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace NilPortugues\Cache\Adapter;
12
13
/**
14
 * Class InMemoryAdapterFactory
15
 * @package NilPortugues\Cache\Adapter
16
 */
17
class InMemoryAdapterFactory
18
{
19
    /**
20
     * @return InMemoryAdapter
21
     */
22
    public static function create()
23
    {
24
        return InMemoryAdapter::getInstance();
25
    }
26
}