for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* MOJEPANSTWO-API
*
* Copyright © 2017 pudelek.org.pl
* @license MIT License (MIT)
* For the full copyright and license information, please view source file
* that is bundled with this package in the file LICENSE
* @author Marcin Pudełek <[email protected]>
*/
declare (strict_types=1);
namespace mrcnpdlk\MojePanstwo\Model;
* Class SearchResponseLinks
* @package mrcnpdlk\MojePanstwo\Model
class SearchResponseLinks
{
* Link do bieżacej strony wyników
* @var string
public $self;
* Link do poprzedniej strony wyników
public $prev;
* Link do pierwszej strony wyników
public $first;
* Link do następnej strony wyników
public $next;
* Link do ostatniej strony wyników
public $last;
* SearchResponseLinks constructor.
* @param string|null $self
* @param string|null $first
* @param string|null $next
* @param string|null $last
* @param string|null $prev
public function __construct(string $self = null, string $first = null, string $next = null, string $last = null, string $prev = null)
$this->self = $self;
$this->first = $first;
$this->next = $next;
$this->last = $last;
$this->prev = $prev;
}