예제 #1
0
파일: DvdInfo.php 프로젝트: KoyoA/patterns
 function __construct($titleName, $star, $region)
 {
     parent::__construct($titleName);
     $this->setStar($star);
     $this->setRegion($region);
 }
예제 #2
0
파일: BookInfo.php 프로젝트: KoyoA/patterns
 function __construct($title, $author)
 {
     parent::__construct($title);
     $this->author = $author;
 }