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

InMemory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 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