Web lists-archives.com

Re: [PHP] How do I handle covariant parameters and not fall foul of LSP.

On 14.02.2017 at 11:20, Richard Quadling wrote:

> If anyone has some good examples (real world ideally) where LSP is sane AND
> includes inheritance (they seem to be where the conflict lies) then I may
> be able to learn why I'm doing it wrong.

may be helpful.

Also note, that PHP currently only supports parameter invariance (not

Christoph M. Becker

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