public function getVisitedPages()
    {
        $dates = $this->getStartEndDate();

        $items = LaravelAnalytics::getMostVisitedPagesForPeriod($dates['start'], $dates['end']);

        return $items;
    }
public function getVisitedPages()
    {
        $dates = $this->getStartEndDate();

        $items = LaravelAnalytics::getMostVisitedPagesForPeriod($dates['start'], $dates['end']);

        return $items;
    }
public function getVisitedPages ( ) { $ dates = $ this -> getStartEndDate ( ) ; $ items = LaravelAnalytics :: getMostVisitedPagesForPeriod ( $ dates [ 'start' ] , $ dates [ 'end' ] ) ; return $ items ; }
Get the most visited pages for duration
@return \Spatie\LaravelAnalytics\Collection
Get the most visited pages for duration