getConfiguration($key); } public static function getRobotsPolicy (): RobotsPolicy { return match (self::getConfigurationLevelShelf("site.robots")) { "allow", null => RobotsPolicy::allow, "deny" => RobotsPolicy::deny, "custom", "file" => RobotsPolicy::file, default => RobotsPolicy::raw, }; } }