<commit_before><?php namespace NukaCode\Core\Controllers;

use Illuminate\Routing\Controller;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\Facades\View;
use NukaCode\Core\Support\Facades\View\ViewBuilder;

abstract class BaseController extends Controller {

    protected $layout;

    protected $layoutOptions = [
        'default' => 'layouts.default',
        'ajax'    => 'layouts.ajax'
    ];

    protected $resetBlade    = true;

    public function __construct()
    {
        if ($this->resetBlade === true) {
            // Resetting blade syntax to original
            $this->resetBladeSyntax();
        }

        // Set up the default view resolution
        ViewBuilder::setUp($this->layoutOptions);
        $this->setupLayout();<commit_msg>Update BaseController.php<commit_after><?php namespace NukaCode\Core\Controllers;

use Illuminate\Routing\Controller;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\Facades\View;
use NukaCode\Core\Support\Facades\View\ViewBuilder;

abstract class BaseController extends Controller {

    protected $layout;

    protected $layoutOptions = [
        'default' => 'layouts.default',
        'ajax'    => 'layouts.ajax'
    ];

    protected $resetBlade    = true;

    public function __construct()
    {
        if ($this->resetBlade === true) {
            // Resetting blade syntax to original
            $this->resetBladeSyntax();
        }

        if (! app()->runningInConsole()) {
            // Set up the default view resolution
            ViewBuilder::setUp($this->layoutOptions);
            $this->setupLayout();
        }
{'fraction_non_alphanumeric': 0.11597779148673658, 'fraction_numerical': 0.0, 'mean_word_length': 2.694760820045558, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1453762', 'n_tokens_mistral': 441, 'n_tokens_neox': 450, 'n_words': 96}