We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 9 | class PageInfo implements PageInfoInterface |
||
| 10 | { |
||
| 11 | use DeprecatedPropertyPublicAccessTrait; |
||
| 12 | |||
| 13 | /** @var string */ |
||
| 14 | protected $startCursor; |
||
| 15 | |||
| 16 | /** @var string */ |
||
| 17 | protected $endCursor; |
||
| 18 | |||
| 19 | /** @var bool */ |
||
| 20 | protected $hasPreviousPage; |
||
| 21 | |||
| 22 | /** @var bool */ |
||
| 23 | protected $hasNextPage; |
||
| 24 | |||
| 25 | 88 | public function __construct(string $startCursor = null, string $endCursor = null, bool $hasPreviousPage = null, bool $hasNextPage = null) |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | 58 | public function getStartCursor(): ?string |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @param string $startCursor |
||
| 43 | */ |
||
| 44 | 1 | public function setStartCursor(string $startCursor): void |
|
| 48 | |||
| 49 | /** |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | 58 | public function getEndCursor(): ?string |
|
| 56 | |||
| 57 | /** |
||
| 58 | * @param string $endCursor |
||
| 59 | */ |
||
| 60 | 1 | public function setEndCursor(string $endCursor): void |
|
| 64 | |||
| 65 | /** |
||
| 66 | * @return bool |
||
| 67 | */ |
||
| 68 | 66 | public function getHasPreviousPage(): ?bool |
|
| 72 | |||
| 73 | /** |
||
| 74 | * @param bool $hasPreviousPage |
||
| 75 | */ |
||
| 76 | 1 | public function setHasPreviousPage(bool $hasPreviousPage): void |
|
| 80 | |||
| 81 | /** |
||
| 82 | * @return bool |
||
| 83 | */ |
||
| 84 | 67 | public function getHasNextPage(): ?bool |
|
| 88 | |||
| 89 | /** |
||
| 90 | * @param bool $hasNextPage |
||
| 91 | */ |
||
| 92 | 1 | public function setHasNextPage(bool $hasNextPage): void |
|
| 96 | } |
||
| 97 |