Posted by Ollie on 05/28/05 19:42
abstract class Foo { final function __construct() { } abstract function init(); } class Parser extends Foo { function init() { } } class CssParser extends Parser { } /* in a code like the above, how can you force all the inherited classes to implement a method like init() ? */
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming