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