Inheritance: extends Repository
 /**
  * Persist the currently enabled plugins.
  *
  * @param array $enabled
  */
 protected function setEnabled(array $enabled)
 {
     $enabled = array_values(array_unique($enabled));
     $this->option->set('plugins_enabled', json_encode($enabled));
     // ensure to save options
     $this->option->save();
 }