private function createDefaultTheme()
    {
        $this->info("Creating default theme...");

        // Delete default theme, so we later get the latest version from git
        $defaultThemePath = base_path('themes/'.config('project.defaultTheme'));

        if(file_exists($defaultThemePath)) {
            File::deleteDirectory($defaultThemePath);
        }else{
            (new DummyTheme(
                [
                'title' => 'Default Theme',
                'namespace' => 'DefaultTheme',
                'organisation' => 'Manaferra',
                'authorName' => 'Faton Sopa',
                'authorEmail' => 'fatom.sopa@manaferra.com',
                'auth' => true,
                'activate' => true,
                ]
            ))->make();
        }

        $this->advanceBar();

        return $this;
    }
private function createDefaultTheme()
    {
        $this->info("Creating default theme...");

        // Delete default theme, so we later get the latest version from git
        $defaultThemePath = base_path('themes/'.config('project.defaultTheme'));

        if(file_exists($defaultThemePath)) {
            File::deleteDirectory($defaultThemePath);
        }else{
            (new DummyTheme(
                [
                'title' => 'Default Theme',
                'namespace' => 'DefaultTheme',
                'organisation' => 'Manaferra',
                'authorName' => 'Faton Sopa',
                'authorEmail' => 'fatom.sopa@manaferra.com',
                'auth' => true,
                'activate' => true,
                ]
            ))->make();
        }

        $this->advanceBar();

        return $this;
    }
private function createDefaultTheme ( ) { $ this -> info ( "Creating default theme..." ) ; // Delete default theme, so we later get the latest version from git $ defaultThemePath = base_path ( 'themes/' . config ( 'project.defaultTheme' ) ) ; if ( file_exists ( $ defaultThemePath ) ) { File :: deleteDirectory ( $ defaultThemePath ) ; } else { ( new DummyTheme ( [ 'title' => 'Default Theme' , 'namespace' => 'DefaultTheme' , 'organisation' => 'Manaferra' , 'authorName' => 'Faton Sopa' , 'authorEmail' => 'fatom.sopa@manaferra.com' , 'auth' => true , 'activate' => true , ] ) ) -> make ( ) ; } $ this -> advanceBar ( ) ; return $ this ; }
Create dummy theme.

@return $this
@throws \Cz\Git\GitException
@throws \Exception
Create dummy theme .