Completed
Branch 4.1 (fb2034)
by Andrea
04:53
created

ParametriTabella   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
eloc 3
dl 0
loc 9
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setParameter() 0 3 1
A getParameter() 0 3 1
1
<?php
2
3
namespace Fi\CoreBundle\Utils\Tabella;
4
5
class ParametriTabella
6
{
7 2
    public static function getParameter($parametro)
8
    {
9 2
        return base64_decode($parametro);
10
    }
11 2
    public static function setParameter($parametro)
12
    {
13 2
        return base64_encode($parametro);
14
    }
15
}
16