Hi Stas, Am Dienstag, den 19.02.2008, 14:58 -0800 schrieb Stanislav Malyshev: [...] > 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?
As the $this is resolved after flattening, the delete()-method of the current class is used, isn't it? cu, Lars
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil