public function set($theme) { if (!$this->has($theme)) { throw new ThemeNotFoundException($theme); } $this->loadTheme($theme); }