This commit is contained in:
parent
732bc89a89
commit
4f505c6b16
@ -287,6 +287,15 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
|
||||
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* getConnectionName
|
||||
*
|
||||
* @return string the name of the connection
|
||||
*/
|
||||
public function getConnectionName(Doctrine_Connection $conn)
|
||||
{
|
||||
return array_search($conn, $this->connections, true);
|
||||
}
|
||||
/**
|
||||
* bindComponent
|
||||
* binds given component to given connection
|
||||
|
Loading…
x
Reference in New Issue
Block a user