File ManagerCurrent Directory: wp-content/plugins/backwpup/vendor/inpsyde/backwpup-restore-shared/src/Api/Module/RestoreLinux appserver-0d5e4f1e-php-cc8da225320a42ba9b7d66cba40b1f03 6.6.123+ #1 SMP PREEMPT_DYNAMIC Wed Mar 11 09:04:28 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