Completed
Push — master ( 78d2a6...d225ab )
by Lorenzo
02:05
created

Enumerable   A

Complexity

Total Complexity 22

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 22
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 11
ccs 3
cts 3
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCostants() 0 5 1
1
<?php
2
3
namespace Padosoft\TesseraSanitaria\traits;
4
5
/**
6
 * Class Enumerable
7
 * @package Padosoft\TesseraSanitaria\traits
8
 */
9
trait Enumerable
10
{
11
	/**
12
	 * @return array
13
	 */
14 3
	public static function getCostants()
15
	{
16 3
		$oClass = new \ReflectionClass(__CLASS__);
17 3
		return $oClass->getConstants();
18
	}
19
}
20