public function getScaffoldConfig(string $resourceName): ScaffoldConfigInterface {
        if (!isset($this->scaffoldConfigs[$resourceName])) {
            $className = $this->getScaffoldConfigClass($resourceName);
            $this->scaffoldConfigs[$resourceName] = new $className();
        }
        return $this->scaffoldConfigs[$resourceName];
    }