Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
Add getter methods to BackupManager
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Pieter committed Sep 4, 2015
1 parent eb19b3d commit c05a4fd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Manager/BackupManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit c05a4fd

Please sign in to comment.