Пример #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);
 }