SatisAdmin\Application::registerProviders PHP Method

registerProviders() protected method

protected registerProviders ( )
    protected function registerProviders()
    {
        $this->register(new FormServiceProvider());
        $this->register(new GaufretteServiceProvider());
        $this->register(new MonologServiceProvider(), require $this['app.config_dir'] . '/monolog.php');
        $this->register(new SecurityServiceProvider(), require $this['app.config_dir'] . '/security.php');
        $this->register(new ServiceControllerServiceProvider());
        $this->register(new TranslationServiceProvider());
        $this->register(new UrlGeneratorServiceProvider());
        $this->register(new ValidatorServiceProvider());
        $this->register(new TwigServiceProvider(), ['debug' => $this['debug'], 'twig.path' => $this['app.resources_dir'] . '/views', 'twig.options' => ['cache' => $this['app.cache_dir'] . '/twig'], 'twig.form.templates' => ['form/form_div_layout.html.twig']]);
        $this->register(new AsseticServiceProvider(), ['assetic.path_to_web' => $this['app.web_dir'], 'assetic.options' => ['debug' => $this['debug'], 'auto_dump_assets' => $this['debug']]]);
        require $this['app.config_dir'] . '/assetic.php';
        if ($this['debug']) {
            $this->register($profiler = new WebProfilerServiceProvider(), ['profiler.cache_dir' => $this['app.cache_dir'] . '/profiler']);
            $this->mount('/_profiler', $profiler);
        }
    }