Re: ReflectionClass::getMethod()

From: Date: Thu, 23 Dec 2004 09:33:17 +0000
Subject: Re: ReflectionClass::getMethod()
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-14190@lists.php.net to get a copy of this message
On Thu, 2004-12-23 at 07:43 +0100, Sebastian Bergmann wrote: > Andi Gutmans wrote: > > Exceptions should be thrown for errors. > > And trying to get a method that does not exist is an error. ...which is fine, but without an elegant way of checking if that method exists I don't think it should be done. I think we could all agree on bool hasMethod(string $name) (and not changing getMethod()) though, right? -- Timm If it ain't broken, it doesn't have enough features yet

« previous php.internals (#14190) next »