#!/usr/bin/php config = $remote_config["custom"]; $this->saveConfig(); $path = dirname(__DIR__) . "/networks/custom.json"; file_put_contents($path, json_encode($this->config)); } protected function checkConfig(): void { parent::checkConfig(); } }