private function copyApp()
    {
        // copy MODELS
        $this->copyFilesFromSource($this->appPath . 'Models', app_path('Models'));

        // copy VIEWS
        // replace
        // @include('titan::
        // @extends('titan::
        // $this->view('titan::

        $source = $this->basePath . "resources" . $this->ds . "views";
        $this->copyFilesFromSource($source, resource_path("views"));

        // copy CONTROLLERS
        $this->copyFilesFromSource($this->appPath . "Controllers",
            app_path("Http{$this->ds}Controllers"));

        // copy RouteServiceProvider
        $this->copyRoutesAndProvider();
    }
private function copyApp()
    {
        // copy MODELS
        $this->copyFilesFromSource($this->appPath . 'Models', app_path('Models'));

        // copy VIEWS
        // replace
        // @include('titan::
        // @extends('titan::
        // $this->view('titan::

        $source = $this->basePath . "resources" . $this->ds . "views";
        $this->copyFilesFromSource($source, resource_path("views"));

        // copy CONTROLLERS
        $this->copyFilesFromSource($this->appPath . "Controllers",
            app_path("Http{$this->ds}Controllers"));

        // copy RouteServiceProvider
        $this->copyRoutesAndProvider();
    }
private function copyApp ( ) { // copy MODELS $ this -> copyFilesFromSource ( $ this -> appPath . 'Models' , app_path ( 'Models' ) ) ; // copy VIEWS // replace // @include('titan:: // @extends('titan:: // $this->view('titan:: $ source = $ this -> basePath . "resources" . $ this -> ds . "views" ; $ this -> copyFilesFromSource ( $ source , resource_path ( "views" ) ) ; // copy CONTROLLERS $ this -> copyFilesFromSource ( $ this -> appPath . "Controllers" , app_path ( "Http{$this->ds}Controllers" ) ) ; // copy RouteServiceProvider $ this -> copyRoutesAndProvider ( ) ; }
Copy the app files
Copy all controllers, models and views and routes
Copy the app files Copy all controllers models and views and routes