Bolt\TemplateChooser::maintenance PHP Method

maintenance() public method

Select a template to use for the "maintenance" page.
public maintenance ( ) : string
return string
    public function maintenance()
    {
        // First candidate: global config.
        $template = $this->app['config']->get('general/maintenance_template');
        // Second candidate: specific search setting in global config.
        if ($this->app['config']->get('theme/maintenance_template')) {
            $template = $this->app['config']->get('theme/maintenance_template');
        }
        return $template;
    }