most important issue to me how to handle interface implementations in
cases where methods from the interface implementing trait are renamed in
the trait consumer class.

Renaming poses problem not only with interfaces. Imagine trait having these methods:

function add($key, $value) { ... }
function delete($key) { ... }
function replace($key, $value) { $this->delete($key); $this->add($key, $value); }

What happens if add() is renamed or replaced with function from other trait/interface or dropped?

--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to