Re: Class Properties in Interfaces?

From: Date: Tue, 06 May 2008 16:39:51 +0000
Subject: Re: Class Properties in Interfaces?
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-37500@lists.php.net to get a copy of this message
Marcus Boerger wrote:
A much shorter thing to do might be: interface Coord { abstract $coord; }
Something like that is exactly what I was looking for in my original question. I don't want to specify implementation details, I just want to ensure the property exists on the classes that implements the interface. (Type hinting support would be beautiful, too.) -- Jeremy Privett C.E.O. & C.S.A. Omega Vortex Corporation http://www.omegavortex.net Please note: This message has been sent with information that could be confidential and meant only for the intended recipient. If you are not the intended recipient, please delete all copies and inform us of the error as soon as possible. Thank you for your cooperation.

« previous php.internals (#37500) next »