Exemple #1
0
 public function __construct(PostRepository $postRepository, CategoryRepository $categoryRepository)
 {
     parent::__construct();
     $this->postRepository = $postRepository;
     $this->categoryRepository = $categoryRepository;
 }
 public function __construct(ContactRepository $contactRepository)
 {
     parent::__construct();
     $this->contactRepository = $contactRepository;
 }