App\Http\Controllers\ArchiveController::__construct PHP Method

__construct() public method

ArchiveController constructor.
public __construct ( CategoryRepository $category, TagRepository $tag, PostRepository $post )
$category App\Repositories\CategoryRepository
$tag App\Repositories\TagRepository
$post App\Repositories\PostRepository
    public function __construct(CategoryRepository $category, TagRepository $tag, PostRepository $post)
    {
        $this->category = $category;
        $this->tag = $tag;
        $this->post = $post;
    }