Conditions | 6 |
Paths | 32 |
Total Lines | 6 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
46 | public function __construct($object) { |
||
47 | if (property_exists($object, "personal")){ $this->personal = $object->personal; } |
||
48 | if (property_exists($object, "mailbox")){ $this->mailbox = $object->mailbox; } |
||
49 | if (property_exists($object, "host")){ $this->host = $object->host; } |
||
50 | if (property_exists($object, "mail")){ $this->mail = $object->mail; } |
||
51 | if (property_exists($object, "full")){ $this->full = $object->full; } |
||
52 | } |
||
78 | } |