Re: How to build a real Trait thing without exclusion and renaming

From: Date: Thu, 28 Feb 2008 07:21:22 +0000
Subject: Re: How to build a real Trait thing without exclusion and renaming
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-35841@lists.php.net to get a copy of this message
This is just an example of being able to alias a method from a trait. Assuming two traits would use the same name this would give you the ability to include it under a different name. The point is we can alias but we can not remove.
That's what I am asking - why alias? You have perfectly good name for each one - A::whatever and B::whatever - which are unique. Why you need any more aliases? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#35841) next »