示例#1
0
 public function __construct($slug)
 {
     $this->slug = $slug;
     parent::__construct($slug);
 }
示例#2
0
 public function __construct($slug, $isDoughnut = false)
 {
     $this->slug = $slug;
     $this->isDoughnut = $isDoughnut;
     parent::__construct($slug);
 }