for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types = 1);
namespace ikoene\Marvel\DataContainer;
/**
* Class AbstractDataContainer
* @package ikoene\Marvel\DataContainer
*/
abstract class AbstractDataContainer
{
* The requested offset (number of skipped results) of the call.
*
* @var int
private $offset;
* The requested result limit.
private $limit;
* The total number of resources available given the current filter set.
private $total;
* The total number of results returned by this call.
private $count;
* @return int
public function getOffset()
return $this->offset;
}
* @param int $offset
public function setOffset(int $offset)
$this->offset = $offset;
public function getLimit()
return $this->limit;
* @param int $limit
public function setLimit(int $limit)
$this->limit = $limit;
public function getTotal()
return $this->total;
* @param int $total
public function setTotal(int $total)
$this->total = $total;
public function getCount()
return $this->count;
* @param int $count
public function setCount(int $count)
$this->count = $count;