Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pager should have getTotalResults method function #2991

Closed
wants to merge 1 commit into from
Closed

Conversation

crustamet
Copy link
Contributor

#2954

/**
 * Returns the total count of the results.
 *
 * @param string|null $group
 *
 * @return integer
 */

public function getTotalResults(string $group = 'default'): int
{
	$this->ensureGroup($group);
	
	return $this->groups[$group]['total'];
}

@crustamet crustamet closed this May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants