Completed
Push — master ( d594a1...81b2d1 )
by Matthias
02:04
created

MemoryStore   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
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 11
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace MatthiasMullie\Scrapbook\Adapters\Collections;
4
5
use MatthiasMullie\Scrapbook\Adapters\MemoryStore as Adapter;
6
use MatthiasMullie\Scrapbook\Adapters\Collections\Utils\PrefixReset;
7
8
/**
9
 * MemoryStore adapter for a subset of data.
10
 *
11
 * @author Matthias Mullie <[email protected]>
12
 * @copyright Copyright (c) 2014, Matthias Mullie. All rights reserved
13
 * @license LICENSE MIT
14
 */
15
class MemoryStore extends PrefixReset
16
{
17
    /**
18
     * @param Adapter $cache
19
     * @param string  $name
20
     */
21
    public function __construct(Adapter $cache, $name)
22
    {
23
        parent::__construct($cache, $name);
24
    }
25
}
26