fileManager = new FileManager(); } public function setConfig(Config $config) { $this->fileManager = new FileManager( $config->get('defaultPermissions') ); } public function isFile(string $filePath) : bool { return $this->fileManager->isFile($filePath); } public function putPhpContents(string $path, $data, bool $useRenaming = false) { return $this->fileManager->putPhpContents($path, $data, true, $useRenaming); } public function getPhpContents(string $path) { return $this->fileManager->getPhpContents($path); } }