Example #1
0
 public function __construct(CategoryModel $category)
 {
     parent::__construct($category);
     $this->category = $category;
 }
Example #2
0
 public function __construct(PageModel $page)
 {
     parent::__construct($page);
     $this->page = $page;
 }
Example #3
0
 public function __construct(PostModel $post)
 {
     parent::__construct($post);
     $this->post = $post;
 }