public function __construct($table, WhereBuilder $where) { parent::__construct($table); $this->where = $where; }
public function buildProduct() { parent::buildProduct(); $this->product->setName('The product of the first builder'); }
/** * Add builder * * @param AbstractBuilder $builder */ public function addBuilder(AbstractBuilder $builder) { $this->builders[$builder->getType()] = $builder; }
public function __construct($opts = null) { parent::__construct($opts); $this->fields = array(); $this->index_list = array(); }
public function __construct(AbstractBuilder $builder) { $builder->build(); }