Commit 4f505c6b authored by zYne's avatar zYne

--no commit message

--no commit message
parent 732bc89a
...@@ -287,6 +287,15 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera ...@@ -287,6 +287,15 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
return $this; return $this;
} }
/**
* getConnectionName
*
* @return string the name of the connection
*/
public function getConnectionName(Doctrine_Connection $conn)
{
return array_search($conn, $this->connections, true);
}
/** /**
* bindComponent * bindComponent
* binds given component to given connection * binds given component to given connection
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment