Model   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
/**
4
 * Model Manager
5
 *
6
 * @category  	core
7
 * @package   	core\Model
8
 * @author    	Judicaël Paquet <[email protected]>
9
 * @copyright 	Copyright (c) 2013-2014 PAQUET Judicaël FR Inc. (https://github.com/las93)
10
 * @license   	https://github.com/las93/venus2/blob/master/LICENSE.md Tout droit réservé à PAQUET Judicaël
11
 * @version   	Release: 2.0.0
12
 * @filesource	https://github.com/las93/venus2
13
 * @link      	https://github.com/las93
14
 * @since     	2.0.0
15
 */
16
namespace Venus\core;
17
18
use \Attila\core\Model as AttilaModel;
19
20
/**
21
 * Model Manager
22
 *
23
 * @category  	core
24
 * @package   	core\Model
25
 * @author    	Judicaël Paquet <[email protected]>
26
 * @copyright 	Copyright (c) 2013-2014 PAQUET Judicaël FR Inc. (https://github.com/las93)
27
 * @license   	https://github.com/las93/venus2/blob/master/LICENSE.md Tout droit réservé à PAQUET Judicaël
28
 * @version   	Release: 2.0.0
29
 * @filesource	https://github.com/las93/venus2
30
 * @link      	https://github.com/las93
31
 * @since     	2.0.0
32
 */
33
class Model extends AttilaModel
34
{
35
	/**
36
	 * Constructor
37
	 *
38
	 * @access public
39
	 * @param  Config $oDbConfig
40
	 */
41
	public function __construct(Config $oDbConfig = null)
42
	{
43
		$oDbConfig = Config::get('Db')->configuration;
44
		parent::__construct($oDbConfig);
45
	}
46
}
47