src/Registry/ModRegistry.php
public function set(Mod $mod): void
    {
        $this->loadMods();
        $this->mods[$mod->getName()] = $mod;
    }
public function set(Mod $mod): void
    {
        $this->loadMods();
        $this->mods[$mod->getName()] = $mod;
    }
public function set ( Mod $ mod ) : void { $ this -> loadMods ( ) ; $ this -> mods [ $ mod -> getName ( ) ] = $ mod ; }
Sets a mod into the registry.
@param Mod $mod
Sets a mod into the registry .