With reference to productBuilder class in page 35, i wonder what does the statement
Code:
$this->_xml = $configs;
do?
or should the build() method be
Code:
public function build(){
$this->_product->setSize($this->_xml['size']);
$this->_product->setType($this->_xml['type']);
$this->_product->setColor($this->_xml['color']);
}
instead?