public function __construct(ModulesSettings $modulesSettings, $cacheDir) { $this->settings = $modulesSettings; $this->cacheDir = $cacheDir; }