Owl\Http\Controllers\TagController::index PHP Method

index() public method

index
public index ( ) : view
return view
    public function index()
    {
        $tags = $this->tagService->getAllUsedTags();
        $recent_ranking = $this->stockService->getRecentRankingWithCache(5, 7);
        $all_ranking = $this->stockService->getRankingWithCache(5);
        return view('tags.index', compact('tags', 'recent_ranking', 'all_ranking'));
    }