From f2ae91ee03c17e3f153f1b1392c9539219ea7b9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Collin?= Date: Sun, 6 Sep 2015 22:27:49 +0200 Subject: [PATCH] Add access to drivermanager --- src/System/Manager.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/System/Manager.php b/src/System/Manager.php index d7e5af0..7ea102a 100755 --- a/src/System/Manager.php +++ b/src/System/Manager.php @@ -85,6 +85,16 @@ public function __construct(DriverManager $driverManager, Dispatcher $event) static::$instance = $this; } + /** + * Return the Driver Manager's instance + * + * @return \Analogue\ORM\Drivers\Manager + */ + public function getDriverManager() + { + return $this->drivers; + } + /** * Create a mapper for a given entity *