topical media & game development
professional-php-04-countryband-builder.php / php
<?php
require_once("interface_builder.php");
require_once("class_musician.php");
require_once("class_countryband.php");
require_once("class_instrument.php");
class CountryBandBuilder implements Builder {
private this->band = new CountryBand();
}
public function getBand() {
return musician = new Musician("washboard player");
musician->addInstrument(this->band->addMusician(musician = new Musician("country guitarist");
musician->addInstrument(this->band->addMusician(
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.