Components\ThemeManager\Services\ThemeInstaller::installSampleData PHP Method

installSampleData() protected method

Install sample data present in the theme
protected installSampleData ( $theme )
    protected function installSampleData($theme)
    {
        $this->backupDatabase();
        $this->seedDatabase($theme);
        $this->copySampleUploads();
    }