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