AppFetcher

class OC\App\AppStore\Fetcher\AppFetcher
Source:lib/private/App/AppStore/Fetcher/AppFetcher.php#41
Parent:OC\App\AppStore\Fetcher\Fetcher

Properties

Methods

public OC\App\AppStore\Fetcher\AppFetcher::__construct($appDataFactory, $clientService, $timeFactory, $config, $compareVersion, $logger)
Source:lib/private/App/AppStore/Fetcher/AppFetcher.php#49
protected OC\App\AppStore\Fetcher\AppFetcher::fetch($ETag, $content, $allowUnstable=false)
Only returns the latest compatible app release in the releases array
Source:

lib/private/App/AppStore/Fetcher/AppFetcher.php#78

Parameters:
  • $ETag (string)
  • $content (string)
Returns:

array

public OC\App\AppStore\Fetcher\AppFetcher::setVersion($version, $fileName=apps.json, $ignoreMaxVersion=true)
Source:

lib/private/App/AppStore/Fetcher/AppFetcher.php#169

Parameters:
  • $version (string)
  • $fileName (string)
  • $ignoreMaxVersion (bool)