| Conditions | 3 |
| Paths | 4 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 3 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | 3 | public function __construct(Subject $subject, $properties = array()) |
|
| 28 | { |
||
| 29 | 3 | $this->subject = $subject; |
|
| 30 | |||
| 31 | 3 | if (array_key_exists('codiceFiscaleToCheck', $properties)) { |
|
| 32 | 3 | $this->codiceFiscaleToCheck = $properties['codiceFiscaleToCheck']; |
|
| 33 | 3 | } |
|
| 34 | |||
| 35 | 3 | if (array_key_exists('omocodiaLevel', $properties)) { |
|
| 36 | 3 | $this->omocodiaLevel = $properties['omocodiaLevel']; |
|
| 37 | 3 | } |
|
| 38 | 3 | } |
|
| 39 | |||
| 59 |