private function createDefaultView($model, $filename)
    {
        @mkdir(config('view.path')."/".$model, 0766);

        // We create the default CRUD view
        foreach (["create", "edit", "show", "index"] as $value) {
            $filename = "$model/$value".config('view.extension');

            touch(config('view.path').'/'.$filename);

            echo "$filename added\n";
        }
    }
private function createDefaultView($model, $filename)
    {
        @mkdir(config('view.path')."/".$model, 0766);

        // We create the default CRUD view
        foreach (["create", "edit", "show", "index"] as $value) {
            $filename = "$model/$value".config('view.extension');

            touch(config('view.path').'/'.$filename);

            echo "$filename added\n";
        }
    }
private function createDefaultView ( $ model , $ filename ) { @ mkdir ( config ( 'view.path' ) . "/" . $ model , 0766 ) ; // We create the default CRUD view foreach ( [ "create" , "edit" , "show" , "index" ] as $ value ) { $ filename = "$model/$value" . config ( 'view.extension' ) ; touch ( config ( 'view.path' ) . '/' . $ filename ) ; echo "$filename added\n" ; } }
Create the default view for rest Generation

@param string $modal
@param string $filename

@return void
Create the default view for rest Generation