| 1 | <?php |
||
| 8 | class RelationPaginator |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | private $first; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $last; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | private $self; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $first |
||
| 27 | * @param string $last |
||
| 28 | * @param string $self |
||
| 29 | */ |
||
| 30 | 3 | public function __construct($first, $last, $self) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | 2 | public function getFirst() |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | 2 | public function getLast() |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | 2 | public function getSelf() |
|
| 60 | } |
||
| 61 |