Conditions | 6 |
Paths | 32 |
Total Lines | 6 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
40 | public function __construct($object) { |
||
41 | if (property_exists($object, "personal")){ $this->personal = $object->personal; } |
||
42 | if (property_exists($object, "mailbox")){ $this->mailbox = $object->mailbox; } |
||
43 | if (property_exists($object, "host")){ $this->host = $object->host; } |
||
44 | if (property_exists($object, "mail")){ $this->mail = $object->mail; } |
||
45 | if (property_exists($object, "full")){ $this->full = $object->full; } |
||
46 | } |
||
90 | } |