getHeader() . PHP_EOL . "return " . common_Utils::toHumanReadablePhpString($value) . ";" . PHP_EOL; return $content; } /** * Get the path associated to the given key * Must be a two part key (e.q. path into a config folder) * * @param string $key * @return string */ protected function getPath($key) { $parts = explode('/', $key); $path = substr(parent::getPath(array_shift($parts)), 0, -4); foreach ($parts as $part) { $path .= DIRECTORY_SEPARATOR . $this->sanitizeReadableFileName($part); } return $path . '.conf.php'; } }