Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function __construct($codiceFiscale, $properties = array()) { |
||
21 | parent::__construct($codiceFiscale, $properties); |
||
22 | |||
23 | if ($this->isFormallyValid()) { |
||
24 | $codiceFiscaleWithoutOmocodia = $this->getCodiceFiscaleWithoutOmocodia(); |
||
25 | |||
26 | // calculate belfiore code |
||
27 | $this->belfioreCode = substr($codiceFiscaleWithoutOmocodia, 11, 4); |
||
28 | } |
||
29 | } |
||
30 | |||
54 |