protected function scanModels()
    {
        $scans = $this->modelScans();

        if (empty($scans)) {
            return;
        }

        $scanner = $this->app->make('annotations.model.scanner');

        $scanner->setClassesToScan($scans);

        file_put_contents(
          $this->finder->getScannedModelsPath(), '<?php '.$scanner->getModelDefinitions()
        );
    }
protected function scanModels()
    {
        $scans = $this->modelScans();

        if (empty($scans)) {
            return;
        }

        $scanner = $this->app->make('annotations.model.scanner');

        $scanner->setClassesToScan($scans);

        file_put_contents(
          $this->finder->getScannedModelsPath(), '<?php '.$scanner->getModelDefinitions()
        );
    }
protected function scanModels ( ) { $ scans = $ this -> modelScans ( ) ; if ( empty ( $ scans ) ) { return ; } $ scanner = $ this -> app -> make ( 'annotations.model.scanner' ) ; $ scanner -> setClassesToScan ( $ scans ) ; file_put_contents ( $ this -> finder -> getScannedModelsPath ( ) , '<?php ' . $ scanner -> getModelDefinitions ( ) ) ; }
Scan the models and write the scanned models file.

@return void
Scan the models and write the scanned models file .