App\Http\Controllers\Quarx\BlogController::tag PHP Méthode

tag() public méthode

Display all Blog entries.
public tag ( $tag ) : Response
Résultat Response
    public function tag($tag)
    {
        $blogs = $this->blogRepository->tags($tag);
        $tags = $this->blogRepository->allTags();
        if (empty($blogs)) {
            abort(404);
        }
        return view('quarx-frontend::blog.all')->with('tags', $tags)->with('blogs', $blogs);
    }