Hi, 2011/9/19 Frédéric Hardy <frederic.ha...@mageekbox.net>
> Hi ! > > What is the utility of abstract method if implementation can not follow > the signature (constraints ?) of the abstract method ? > In this case, abstract methods are totaly useless ! > Moreover, i think that it's not compatible with Liskov substitution > principle. Subclasses can loosen the preconditions, that's eactly what happens here and it is perfectly fine in theory. > > > Best regards, > Fred > -- > > ==============================**==============================** > ============ > Frédéric Hardy : Architecte d'application/Admin. système/Ergonome > CV : > http://blog.mageekbox.net/**public/cv.frederic.hardy.pdf<http://blog.mageekbox.net/public/cv.frederic.hardy.pdf> > Blog : http://blog.mageekbox.net > Twitter : http://twitter.com/mageekguy > ==============================**==============================** > ============ > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Etienne Kneuss http://www.colder.ch