protected function pagination( $total, $current, $pageSize, $around = 4 ) {
		$pageCount = ceil( $total / $pageSize );
		$first = max( 0, $current - $around );
		$last = min( max( 0, $pageCount - 1 ), $current + 4 );
		return [ $pageCount, $first, $last ];
	}