readConfig example

/** * Generic helper method to build an array of config which needs to be loaded * * @return array */
    protected function genericConfigLoader(array $config)
    {
        $data = [];

        foreach ($config as $configName) {
            $data[$configName] = $this->readConfig($configName);
        }

        return $data;
    }

    /** * Special treatment for SEO config needed * * @return array */
    protected function prepareSeoConfig()
    {
Home | Imprint | This part of the site doesn't use cookies.