\App\Http\ControllersTagController

Summary

Methods
Properties
Constants
getMostViewed()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getMostViewed()

getMostViewed(\Illuminate\Http\Request  $request) : array

Filters the database for the most viewed tags and saves it into an array

Parameters

\Illuminate\Http\Request $request

The GET Request by which this function is called

Returns

array —

Returns an array with the most viewed tags, values are sepreated in key value style by ':'