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

Enumerable::getCostants()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
ccs 3
cts 3
cp 1
rs 9.4286
cc 1
eloc 3
nc 1
nop 0
crap 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