Language   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
3
/**
4
 * @package Cadmium\System\Schemas
5
 * @author Anton Romanov
6
 * @copyright Copyright (c) 2015-2017, Anton Romanov
7
 * @link http://cadmium-cms.com
8
 */
9
10
namespace Schemas\Prototype {
11
12
	use Utils\Schema;
13
14
	class Language extends Schema\_Object {
15
16
		/**
17
		 * Constructor
18
		 */
19
20
		public function __construct() {
21
22
			$this->addString('name');
23
			$this->addString('iso');
24
			$this->addString('country');
25
			$this->addString('title');
26
			$this->addString('author');
27
		}
28
	}
29
}
30