[PHP] Re: PHP 5 abstract method and class type hints of extending classes

2004-10-26 Thread Jeremy Weir
"Greg Beaver" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jeremy Weir wrote: >> The quesion is: how would one make an abstract method that can be >> compatible with all extending classes that define the method using >> different class typ

[PHP] PHP 5 abstract method and class type hints of extending classes

2004-10-25 Thread Jeremy Weir
The quesion is: how would one make an abstract method that can be compatible with all extending classes that define the method using different class type hints? The php block below is how I thought it should work, but will give this error at parse time: Fatal error: Declaration of DisplayObject