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

InMemoryAdapterFactory::create()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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