protected function loadAnnotatedModels()
    {
        if ($this->app->environment('local') && $this->scanWhenLocal) {
            $this->scanModels();
        }

        $scans = $this->modelScans();

        if (!empty($scans) && $this->finder->modelsAreScanned()) {
            $this->loadScannedModels();
        }
    }
protected function loadAnnotatedModels()
    {
        if ($this->app->environment('local') && $this->scanWhenLocal) {
            $this->scanModels();
        }

        $scans = $this->modelScans();

        if (!empty($scans) && $this->finder->modelsAreScanned()) {
            $this->loadScannedModels();
        }
    }
protected function loadAnnotatedModels ( ) { if ( $ this -> app -> environment ( 'local' ) && $ this -> scanWhenLocal ) { $ this -> scanModels ( ) ; } $ scans = $ this -> modelScans ( ) ; if ( ! empty ( $ scans ) && $ this -> finder -> modelsAreScanned ( ) ) { $ this -> loadScannedModels ( ) ; } }
Load the annotated models.

@return void
Load the annotated models .