コード例 #1
0
ファイル: prototype.php プロジェクト: nahidacm/designpatterns
 public function copy()
 {
     $wheel = new Wheel();
     $wheel->setSize($this->getSize());
     return $wheel;
 }