File ManagerCurrent Directory: wp-content/plugins/backwpup/vendor/inpsyde/backwpup-restore-shared/src/Api/Module/RestoreLinux appserver-7a7af3b2-php-0c9ec09e2f9746c2a80fa3756c076432 6.12.94+ #1 SMP Fri Jul 17 09:26:56 UTC 2026 x86_64Edit File: ConfigRewriterInterface.php <?php declare(strict_types=1); namespace Inpsyde\Restore\Api\Module\Restore; use Inpsyde\Restore\Api\Exception\FileSystemException; use Inpsyde\Restore\Api\Module\Restore\Exception\ConfigFileException; use Inpsyde\Restore\Api\Module\Restore\Exception\ConfigFileNotFoundException; /** * Interface for rewriting wp-config.php. * * This is currently part of {@link RestoreFiles} but should probably * be separated into its own class eventually. * * @author Brandon Olivares <b.olivares@inpsyde.com> */ interface ConfigRewriterInterface { /** * Rewrite config file with new database credentials. * * @throws ConfigFileNotFoundException If the config file cannot be found * @throws FileSystemException If the config file is not writable * @throws ConfigFileException If the config file cannot be parsed */ public function rewriteConfig(): void; } Upload File Directory Listing NameTypeSizeActions.. (Parent Directory)DirConfigRewriterInterface.phpFile907.00 B Rename | Delete | EditExceptionDirectory Rename | DeleteRestoreFiles.phpFile12.41 KB Rename | Delete | EditRestoreInterface.phpFile455.00 B Rename | Delete | Edit