From c05a4fdaf9fc36a6402a6484f977b2dd522d274d Mon Sep 17 00:00:00 2001 From: Pieter Date: Fri, 4 Sep 2015 14:06:44 +0200 Subject: [PATCH] Add getter methods to BackupManager This is so that access to the other managers can be obtained to be able to change some of their properties via the needed methods. Usefull when BackupManager is injected into another service that wants to change some of the defaults for a single instance. --- Manager/BackupManager.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Manager/BackupManager.php b/Manager/BackupManager.php index 8de9394..81931da 100644 --- a/Manager/BackupManager.php +++ b/Manager/BackupManager.php @@ -86,4 +86,19 @@ public function execute() return $successful; } + + public function getClientManager() + { + return $this->cm; + } + + public function getDatabaseManager() + { + return $this->dbm; + } + + public function getProcessorManager() + { + return $this->processor; + } }