Zeev Suraski wrote:
able to switch aggregated objects after instantiation is not very
helpful IMHO.
Strategy Design Pattern
?php
class aStrategy {
// ...
}
class anotherStrategy {
// ...
}
class Foo {
delegatee $strategy;
At 11:23 AM 6/11/2002, Sebastian Bergmann wrote:
This way, an object of Foo can dynamically change behaviour in a very
elegant way.
I'm well aware of the strategy design pattern, but it existed before 'Lava'
(I use it in Java all the time)... You can just as easily do this by
creating a