src/Extension/ExtensionManager.php
protected function setEnabled(array $enabled)
    {
        $enabled = array_values(array_unique($enabled));

        $this->config->set('extensions_enabled', json_encode($enabled));
    }
protected function setEnabled(array $enabled)
    {
        $enabled = array_values(array_unique($enabled));

        $this->config->set('extensions_enabled', json_encode($enabled));
    }
protected function setEnabled ( array $ enabled ) { $ enabled = array_values ( array_unique ( $ enabled ) ) ; $ this -> config -> set ( 'extensions_enabled' , json_encode ( $ enabled ) ) ; }
Persist the currently enabled extensions.

@param array $enabled
Persist the currently enabled extensions .