From c8ef304bcc2473be130050aae25b8ec3c6c590e1 Mon Sep 17 00:00:00 2001 From: jwage Date: Fri, 26 Feb 2010 01:27:10 +0000 Subject: [PATCH] [2.0] Adding getDrivers() method to DriverChain --- lib/Doctrine/ORM/Mapping/Driver/DriverChain.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/Doctrine/ORM/Mapping/Driver/DriverChain.php b/lib/Doctrine/ORM/Mapping/Driver/DriverChain.php index 08dcdc04f..dcc461840 100644 --- a/lib/Doctrine/ORM/Mapping/Driver/DriverChain.php +++ b/lib/Doctrine/ORM/Mapping/Driver/DriverChain.php @@ -56,6 +56,16 @@ class DriverChain implements Driver $this->_drivers[$namespace] = $nestedDriver; } + /** + * Get the array of nested drivers + * + * @return array $drivers + */ + public function getDrivers() + { + return $this->_drivers; + } + /** * Loads the metadata for the specified class into the provided container. *