/** * magic method for unserialize() * * with this method you can cache the mbox class * * @return null */ public function __wakeup() { // if cache is stall selectFolder() rebuilds the tree on error parent::__wakeup(); }