Re: Proposal for aggregation vs. MI
| From: | Andi Gutmans | Date: | Wed, 10 Apr 2002 20:13:56 +0000 |
| Subject: | Re: Proposal for aggregation vs. MI | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-82508@lists.php.net to get a copy of this message | ||
At 23:11 10/04/2002 +0300, Andi Gutmans wrote:
At 13:07 10/04/2002 -0700, brad lafountain wrote: I was thinking that we could have an explicit way of calling the rightLast but not least :) We could always place the aggregated classes as properties of the aggregating class with the same name. So $a->c->print() would automatically work. The only difference between this and regular aggregates is that the object would know it should relay method calls to them. Andione. hmm what would this look like? $a->c::print(); i guess that's not that bad. and its kinda consistant but i do like $a->c->print(); too..