Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $widgetA = new BasicWidget();
- $widgetB = new FancyWidget();
- $widgetB = new BorderDecorator($widgetB);
- $widgetB = new C1oseBoxDecorator($widgetB);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement