Right, but since it's compile time it'll always spit out ServiceManger even when it's a class that extends ServiceManager (like ControllerManager et al).

On Feb 19, 2013, at 3:10 PM, weierophinney <notifications@github.com> wrote:

> In library/Zend/ServiceManager/ServiceManager.php:
> 
> > @@ -362,7 +362,7 @@ public function setService($name, $service)
> >              if ($this->allowOverride === false) {
> >                  throw new Exception\InvalidServiceNameException(sprintf(
> >                      '%s: A service by the name "%s" or alias already exists and cannot be overridden, please use an alternate name.',
> > -                    __METHOD__,
> > +                    get_class($this) .'::'. __FUNCTION__,
> Actually, what you have there is equivalent. __METHOD__ will print out CLASSNAME::METHOD when it expands.
> 
> —
> Reply to this email directly or view it on GitHub.
>