src/Scanner/ScannerServiceProvider.php
public function loadScanned()
    {
        if ($this->app->environment('local') && $this->app['config']->get('assets.generate_when_local', false)) {
            $this->scanDirectories();
        }

        $scans = $this->getDirectories();

        if (! empty($scans) && $this->getScanner()->isScanned()) {
            $this->getScanner()->loadScanned();
        }
    }
public function loadScanned()
    {
        if ($this->app->environment('local') && $this->app['config']->get('assets.generate_when_local', false)) {
            $this->scanDirectories();
        }

        $scans = $this->getDirectories();

        if (! empty($scans) && $this->getScanner()->isScanned()) {
            $this->getScanner()->loadScanned();
        }
    }
public function loadScanned ( ) { if ( $ this -> app -> environment ( 'local' ) && $ this -> app [ 'config' ] -> get ( 'assets.generate_when_local' , false ) ) { $ this -> scanDirectories ( ) ; } $ scans = $ this -> getDirectories ( ) ; if ( ! empty ( $ scans ) && $ this -> getScanner ( ) -> isScanned ( ) ) { $ this -> getScanner ( ) -> loadScanned ( ) ; } }
Load the scanned assets.

@return void
Load the scanned assets .