protected function loadThemer()
    {
        $app = app();

        $this->styles     = $app->make(Styles::class);
        $this->scripts    = $app->make(Scripts::class);

        if (method_exists($this, 'share')) {
            $this->share([
                 'styles'  => $this->styles,
                 'scripts' => $this->scripts,
                 'images'  => $app->make(Images::class),
             ]);
        }
    }
protected function loadThemer()
    {
        $app = app();

        $this->styles     = $app->make(Styles::class);
        $this->scripts    = $app->make(Scripts::class);

        if (method_exists($this, 'share')) {
            $this->share([
                 'styles'  => $this->styles,
                 'scripts' => $this->scripts,
                 'images'  => $app->make(Images::class),
             ]);
        }
    }
protected function loadThemer ( ) { $ app = app ( ) ; $ this -> styles = $ app -> make ( Styles :: class ) ; $ this -> scripts = $ app -> make ( Scripts :: class ) ; if ( method_exists ( $ this , 'share' ) ) { $ this -> share ( [ 'styles' => $ this -> styles , 'scripts' => $ this -> scripts , 'images' => $ app -> make ( Images :: class ) , ] ) ; } }
Initialise and load themer components
Initialise and load themer components