芝麻web文件管理V1.00
编辑当前文件:/home/sditechnicalteam/public_html/vendor/webklex/php-imap/src/Address.php
personal = $object->personal; } if (property_exists($object, "mailbox")){ $this->mailbox = $object->mailbox; } if (property_exists($object, "host")){ $this->host = $object->host; } if (property_exists($object, "mail")){ $this->mail = $object->mail; } if (property_exists($object, "full")){ $this->full = $object->full; } } /** * Return the stringified address * * @return string */ public function __toString() { return $this->full ? $this->full : ""; } /** * Return the serialized address * * @return array */ public function __serialize(){ return [ "personal" => $this->personal, "mailbox" => $this->mailbox, "host" => $this->host, "mail" => $this->mail, "full" => $this->full, ]; } /** * Convert instance to array * * @return array */ public function toArray(){ return $this->__serialize(); } /** * Return the stringified attribute * * @return string */ public function toString(){ return $this->__toString(); } }