Skip to content

Commit

Permalink
Merge pull request #49 from analogueorm/fix-drivermanager
Browse files Browse the repository at this point in the history
Fix drivermanager
  • Loading branch information
RemiCollin committed Sep 6, 2015
2 parents 7e5e397 + f2ae91e commit 9c5a60e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/System/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 9c5a60e

Please sign in to comment.