Re: [PHP-DEV] Trait behavior when providing a new name while no conflict exists

2010-11-18 Thread Stefan Marr
Hi Patrick: On 18 Nov 2010, at 16:01, Patrick ALLAERT wrote: > Hi, > > Is this intended not being able to give a new name to a method even in > case of no conflict? > In the following example, I try to provide the name "sayIt" > additionally to "saySomething" from trait "Hello": > > trait Hell

[PHP-DEV] Trait behavior when providing a new name while no conflict exists

2010-11-18 Thread Patrick ALLAERT
Hi, Is this intended not being able to give a new name to a method even in case of no conflict? In the following example, I try to provide the name "sayIt" additionally to "saySomething" from trait "Hello": The following error message is shown while running it: Fatal error: Failed to add alias