controllers/Controller/Cms/FrontendController.php
protected function options(Request $request, Application $app)
    {
        return array(
            "root_dir" => $app["red_kite_cms.root_dir"],
            "request" => $request,
            "twig" => $app["twig"],
            "red_kite_cms_config" => $app["red_kite_cms.configuration_handler"],
            "page" => $app["red_kite_cms.page"],
            "plugin_manager" => $app["red_kite_cms.plugin_manager"],
            "template_assets" => $app["red_kite_cms.template_assets"],
            "page_renderer" => $app["red_kite_cms.page_renderer_production"],
            "username" => null,
        );
    }
protected function options(Request $request, Application $app)
    {
        return array(
            "root_dir" => $app["red_kite_cms.root_dir"],
            "request" => $request,
            "twig" => $app["twig"],
            "red_kite_cms_config" => $app["red_kite_cms.configuration_handler"],
            "page" => $app["red_kite_cms.page"],
            "plugin_manager" => $app["red_kite_cms.plugin_manager"],
            "template_assets" => $app["red_kite_cms.template_assets"],
            "page_renderer" => $app["red_kite_cms.page_renderer_production"],
            "username" => null,
        );
    }
Sets the options required by parent class

@param \Symfony\Component\HttpFoundation\Request $request
@param \Silex\Application                        $app
@return array