public function getLimits(array $query = [])
    {
        $limits = [];
        $current_limit = $this->getLimit($query);

        foreach (self::$limits as $limit) {
            $limits[] = [
                'link' => '?'.http_build_query(array_merge($query, ['limit' => $limit])),
                'name' => $limit ? $limit : self::LIMIT_ALL_NAME,
                'count' => $limit,
                'current' => $current_limit == $limit,
            ];
        }

        return $limits;
    }