2009/10/28 Raymond Irving <xwis...@yahoo.com>:

>  I'm try to do something like what Martin Scotta did but I'm looking for a
> solution that did not require me to loop through get_declared classes() to
> find a sub class.

Place all your child classes in the same namespace, and use
ReflectionNamespace::getClasses().

But I stress, again, that I think there's a design issue that needs to
be fixed here. There's going to be a better way to do what you're
trying to do.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to