/** * Unserialize method. */ public function __wakeup() { $theme_handler = Bootstrap::getThemeHandler(); $theme = $theme_handler->getTheme($this->name); $this->__construct($theme, $theme_handler); }