for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Maxim Sokolovsky
*/
namespace WS\Utils\Collections\Iterator;
class IterateResult
{
private $value;
private $isRunOut = false;
public function setValue($value): self
$this->value = $value;
return $this;
}
public function setAsRunOut(): self
$this->isRunOut = true;
public function isRunOut(): bool
return $this->isRunOut;
public function getValue()
return $this->value;