for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Sarnado\Converter\Objects;
/**
* Class APIUsageObject
* @package Sarnado\Converter\Objects
*/
class APIUsageObject
{
* @var int
private $current;
private $available;
private $refreshAfter;
* APIUsageObject constructor.
* @param int $current
* @param int $available
* @param int $refreshAfter
public function __construct(int $current, int $available, int $refreshAfter)
$this->setCurrent($current);
$this->setAvailable($available);
$this->setRefreshAfter($refreshAfter);
}
* @return int
public function getCurrent(): int
return $this->current;
public function setCurrent(int $current)
$this->current = $current;
public function getAvailable(): int
return $this->available;
public function setAvailable(int $available)
$this->available = $available;
public function getRefreshAfter(): int
return $this->refreshAfter;
public function setRefreshAfter(int $refreshAfter)
$this->refreshAfter = $refreshAfter;