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. *