Exemple #1
0
 /**
  * @param MainTheme $theme
  */
 public function loadTheme($theme)
 {
     $this->setAttributes(['name' => $theme->name, 'color' => $theme->color, 'order' => $theme->order, 'enabled' => $theme->enabled, 'categories' => $theme->getCategories(), 'articles' => $theme->getArticles(), 'id' => $theme->id, 'titleWords' => $theme->titleWords, 'textWords' => $theme->textWords]);
 }