protected function writeConfig(string $file, $config)
    {
        $config = var_export($config, true);
        $config = str_replace('stdClass::__set_state', '(object)', $config);
        $config = "<?php\n\rreturn " . $config . ';';
        $this->fileWrite($file, $config);
    }
protected function writeConfig(string $file, $config)
    {
        $config = var_export($config, true);
        $config = str_replace('stdClass::__set_state', '(object)', $config);
        $config = "<?php\n\rreturn " . $config . ';';
        $this->fileWrite($file, $config);
    }
{@inheritdoc}