App\Http\Controllers\Quarx\BlogController::all PHP Метод

all() публичный Метод

Display all Blog entries.
public all ( ) : Response
Результат Response
    public function all()
    {
        $blogs = $this->blogRepository->publishedAndPaginated();
        $tags = $this->blogRepository->allTags();
        if (empty($blogs)) {
            abort(404);
        }
        return view('quarx-frontend::blog.all')->with('tags', $tags)->with('blogs', $blogs);
    }