buildPart1() abstract public method

建造者抽象类
abstract public buildPart1 ( )
 public function __construct(Builder $builder)
 {
     $builder->buildPart1();
     $builder->buildPart2();
 }
示例#2
0
 public function __construct(Builder $builder)
 {
     $this->_builder = $builder;
     $builder->buildPart1();
     $builder->buildPart2();
 }