Completed
Push — master ( 32cb15...ce22ce )
by Alexander
05:39 queued 02:43
created

CacheAdapterAbstract::setDriver()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1
Metric Value
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 1
1
<?php
2
/**
3
 * Cache adapter and singleton functionality
4
 *
5
 * @file      CacheAdapterAbstract.php
6
 *
7
 * PHP version 5.4+
8
 *
9
 * @author    Alexander Yancharuk <alex at itvault dot info>
10
 * @copyright © 2012-2015 Alexander Yancharuk <alex at itvault at info>
11
 * @date      8/22/13 16:20
12
 * @license   The BSD 3-Clause License
13
 *            <https://tldrlegal.com/license/bsd-3-clause-license-(revised)>
14
 */
15
16
namespace Veles\Cache\Adapters;
17
18
use Traits\LazyCalls;
19
20
/**
21
 * Class CacheAdapterAbstract
22
 *
23
 * @author  Alexander Yancharuk <alex at itvault dot info>
24
 */
25
abstract class CacheAdapterAbstract
26
{
27
	use LazyCalls;
28
29
	/**
30
	 * Driver initialization
31
	 */
32
	abstract protected function __construct();
33
}
34