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

MemoryStore::__construct()   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 2
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