Re: RFC: Traits for PHP
| From: | Lukas Kahwe Smith | Date: | Sat, 23 Feb 2008 00:47:52 +0000 |
| Subject: | Re: RFC: Traits for PHP | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35741@lists.php.net to get a copy of this message | ||
On 22.02.2008, at 18:20, Stanislav Malyshev wrote:
Hi!I have no clue how to technically make this possible, but Andi appeared confident that it should be possible with reasonable effort. regards, LukasA trait may contain methods and properties. When importing a trait into a class, all methods and properties are imported in a way that makes them only visible within the trait (I dont like the use of "private"How you are going to do that?