コード例 #1
0
ファイル: SelectBuilder.php プロジェクト: krajewskis/ppdo
 public function __construct($table, WhereBuilder $where)
 {
     parent::__construct($table);
     $this->where = $where;
 }
コード例 #2
0
ファイル: FirstBuilder.php プロジェクト: popcornphp/pattern
 public function buildProduct()
 {
     parent::buildProduct();
     $this->product->setName('The product of the first builder');
 }
コード例 #3
0
ファイル: ItemFactory.php プロジェクト: Maksold/platform
 /**
  * Add builder
  *
  * @param AbstractBuilder $builder
  */
 public function addBuilder(AbstractBuilder $builder)
 {
     $this->builders[$builder->getType()] = $builder;
 }
コード例 #4
0
ファイル: MySQLBuilder.php プロジェクト: coltware/xtable
 public function __construct($opts = null)
 {
     parent::__construct($opts);
     $this->fields = array();
     $this->index_list = array();
 }
コード例 #5
0
 public function __construct(AbstractBuilder $builder)
 {
     $builder->build();
 }