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