$config $config : \Illuminate\Config\Repository Laravel config instance Type \Illuminate\Config\Repository
$cache $cache : \Illuminate\Cache\CacheManager Laravel cache instance Type \Illuminate\Cache\CacheManager
$files $files : \Illuminate\Filesystem\Filesystem Laravel Filesystem instance Type \Illuminate\Filesystem\Filesystem
__construct() __construct(\Illuminate\Container\Container $app) Parameters \Illuminate\Container\Container $app
getStatusesFilePath() getStatusesFilePath() : string Get the path of the file where statuses are stored Returns string
hasStatusForAddon() hasStatusForAddon(\Expand\Addon\Addon $addon, \Expand\Addon\Activator\bool $status) Parameters \Expand\Addon\Addon $addon \Expand\Addon\Activator\bool $status
config() config(string $key, $default = null) : mixed Reads a config parameter under the 'activators.file' key Parameters string $key $default Returns mixed
getModulesStatuses() getModulesStatuses() : array Get modules statuses, either from the cache or from the json statuses file if the cache is disabled. Throws \Illuminate\Contracts\Filesystem\FileNotFoundException Returns array
readJson() readJson() : array Reads the json file that contains the activation statuses. Throws \Illuminate\Contracts\Filesystem\FileNotFoundException Returns array