src/Registry/ModRegistry.php
public function saveMods(): void
    {
        $mods = [];
        foreach ($this->mods as $mod) {
            $mods[] = $mod->writeData();
        }
        $this->saveContent(self::HASH_FILE_MODS, $this->encodeContent($mods));
    }
public function saveMods(): void
    {
        $mods = [];
        foreach ($this->mods as $mod) {
            $mods[] = $mod->writeData();
        }
        $this->saveContent(self::HASH_FILE_MODS, $this->encodeContent($mods));
    }
public function saveMods ( ) : void { $ mods = [ ] ; foreach ( $ this -> mods as $ mod ) { $ mods [ ] = $ mod -> writeData ( ) ; } $ this -> saveContent ( self :: HASH_FILE_MODS , $ this -> encodeContent ( $ mods ) ) ; }
Saves the currently known mod to the adapter.
Saves the currently known mod to the adapter .