Core   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A create() 0 4 1
1
<?php
2
/**
3
 * ExtForms - Core.php
4
 *
5
 * Initial version by: MisterX
6
 * Initial version created on: 03.08.2015
7
 */
8
9
namespace Ext;
10
11
12
class Core
13
{
14
15
16
	public static function create($class,array $config=array()){
17
		$class = '\\'.str_replace('.','\\',$class);
18
		return new $class($config);
19
	}
20
}