Conditions | 6 |
Paths | 32 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function __construct(array $card = []) |
||
24 | { |
||
25 | $this->from = isset($card['from']) ? $card['from'] : ''; |
||
26 | $this->to = isset($card['to']) ? $card['to'] : ''; |
||
27 | $this->type = isset($card['type']) ? $card['type'] : ''; |
||
28 | $this->number = isset($card['number']) ? $card['number'] : ''; |
||
29 | $this->info = isset($card['info']) ? $card['info'] : ''; |
||
30 | } |
||
88 |