public function restoreDatabase(): void
    {
        $currentDirectory = getcwd();
        $installer = $this->getInstallerService();
        $this->findDirectoryToRunScripts();
        $installer->setOutput(new NullOutput());
        $installer->importSchema();
        $installer->importData();
        chdir($currentDirectory);
    }
public function restoreDatabase(): void
    {
        $currentDirectory = getcwd();
        $installer = $this->getInstallerService();
        $this->findDirectoryToRunScripts();
        $installer->setOutput(new NullOutput());
        $installer->importSchema();
        $installer->importData();
        chdir($currentDirectory);
    }
public function restoreDatabase ( ) : void { $ currentDirectory = getcwd ( ) ; $ installer = $ this -> getInstallerService ( ) ; $ this -> findDirectoryToRunScripts ( ) ; $ installer -> setOutput ( new NullOutput ( ) ) ; $ installer -> importSchema ( ) ; $ installer -> importData ( ) ; chdir ( $ currentDirectory ) ; }
Detects installation type and restores the database using parameters from parameters.yml.
Detects installation type and restores the database using parameters from parameters . yml .