Completed
Pull Request — master (#37)
by Chris
02:41
created

InMemory::__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 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
namespace Darya\Foundation\Configuration;
3
4
use Darya\Foundation\AbstractConfiguration;
5
6
/**
7
 * Darya's in-memory configuration implementation.
8
 * 
9
 * @author Chris Andrew <[email protected]>
10
 */
11
class InMemory extends AbstractConfiguration
12
{
13
	/**
14
	 * Build a new configuration from the given array of configuration data.
15
	 * 
16
	 * @param array $data
17
	 */
18
	public function __construct($data)
19
	{
20
		$this->data = $data;
21
	}
22
}
23