get() public méthode

Get the specified option value.
public get ( string $key, mixed $default = null, boolean $bool = true ) : mixed
$key string
$default mixed
$bool boolean convert '0', '1' to bool value
Résultat mixed
 /**
  * The id's of the enabled plugins.
  *
  * @return array
  */
 public function getEnabled()
 {
     return (array) json_decode($this->option->get('plugins_enabled'), true);
 }