```php

public function hasPage($pageNumber, $nbEntriesByPage);

```

Imo this would be more understandable !