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