diff --git a/lib/Doctrine/Locator/Injectable.php b/lib/Doctrine/Locator/Injectable.php index c5e69d86a..6990c3060 100644 --- a/lib/Doctrine/Locator/Injectable.php +++ b/lib/Doctrine/Locator/Injectable.php @@ -97,10 +97,10 @@ class Doctrine_Locator_Injectable // get the name of the concrete implementation $concreteImpl = $this->_resources[$name]; - return $this->getLocator()->get($concreteImpl); + return $this->getLocator()->locate($concreteImpl); } } else { - return $this->getLocator()->get($name); + return $this->getLocator()->locate($name); } } /**