/**
  * Export OC config as JSON and parse it into the cache
  * @throws ProcessFailedException
  * @throws \UnexpectedValueException
  */
 private function load()
 {
     $this->cache = $this->occRunner->runJson('config:list', ['--private' => '']);
     $this->isLoaded = true;
 }
Beispiel #2
0
 public function getShippedApps()
 {
     $shippedApps = $this->occRunner->runJson('app:list --shipped true');
     $allApps = array_merge(array_keys($shippedApps['enabled']), array_keys($shippedApps['disabled']));
     return $allApps;
 }