public function __get($name) { switch ($name) { case 'mailbox': return $this->_mbox; default: return parent::__get($name); } }