The property numberOfRecordsOnPage does not seem to exist. Did you mean numberOfRecords?
An attempt at access to an undefined property has been detected. This may either be a typographical error
or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods
to allow access. See the php core documentation on Overloading.
Loading history...
17
}
18
19
public function getPageSize(): int
20
{
21
return $this->options->getPageSize();
22
}
23
24
public function getCurrentPage(): int
25
{
26
return $this->options->getCurrentPage();
27
}
28
29
public function getNumberOfRecords()
30
{
31
return $this->numberOfRecords;
32
}
33
34
public function getLastPage(): int
35
{
36
if (null === $this->numberOfRecords) {
37
throw new \RuntimeException(
38
'Cannot determine the last page when the total number of ' .
The property numberOfRecordsOnPage does not seem to exist. Did you mean numberOfRecords?
An attempt at access to an undefined property has been detected. This may either be a typographical error
or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods
to allow access. See the php core documentation on Overloading.
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.