code: public function boot(Plugin $theme)
      {
          if ($this->booted && $this->theme == $theme) {
              return $this;
          }
  
          $this->theme = $theme;
          $pluginDir = $this->theme->getPluginDir();
          $this->baseThemeDir = $this->themeDir = $pluginDir . '/Resources/theme';
          if ($this->configurationHandler->isTheme()) {
              $this->themeDir .= '_dev';
          }
          $this->templatesDir = $pluginDir . '/Resources/views';
          if (!is_dir($this->themeDir)) {
              mkdir($this->themeDir);
          }
  
          $this->templates = $this->findTemplates();
          $this->booted = true;
  
          return $this;
      }
docs: Boots the theme
  @param \RedKiteCms\Plugin\Plugin $theme
  
  @return $this