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 right 
>> one.
>>
>>  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..


Last 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.

Andi


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to