public function Connection::getPagerManager in Drupal 9
Get the pager manager service, if available.
Return value
\Drupal\Core\Pager\PagerManagerInterface The pager manager service, if available.
Throws
\Drupal\Core\DependencyInjection\ContainerNotInitializedException If the container has not been initialized yet.
File
- core/
lib/ Drupal/ Core/ Database/ Connection.php, line 2120
Class
- Connection
- Base Database API class.
Namespace
Drupal\Core\DatabaseCode
public function getPagerManager() : PagerManagerInterface {
return \Drupal::service('pager.manager');
}