[Solar-talk] Re: Solar::register()
Antti Holvikari
anttih at gmail.com
Sun May 7 09:09:14 PDT 2006
On 5/6/06, Antti Holvikari <anttih at gmail.com> wrote:
> Hi!
>
> One quicky: why doesn't Solar::register do a inRegistry() on it's own?
> I'm sure Paul you have a reason for this but I just can't figure what
> that is.
>
> Thanks!
Crap. I'm sorry, obviously it does it already. I was wondering
wouldn't it make sense for register() to just return; if the class
with the same name already exists in the registry and not throw an
Exception. You'd get rid of all the inRegistry() checks. Does this
make sense at all?
--
Antti Holvikari <http://antti.dotgeek.org/blog>
Zend Certified Engineer (ZCE)
More information about the solar-talk
mailing list