@param int $value

@return $this
193687
public function typeIs($value)
    {
        $this->add(new Criterium(self::CRITERIUM_TYPE_IS, (int) $value));

        return $this;
    }
1008539
public function setCurrent($value)
    {
        if (StaticValidator::validates('number', $value)) {
            $this->current = StaticFilter::filter('number',$value);
            $this->offset = $this->rowsPerPage * ($this->current - 1);
        }
        return $this;
    }
1154868
public function setId(int $value) : Permission
    {

        if ($this->data['id'] !== $value) {
            $this->data['id'] = $value;
            $this->setModified('id');
        }

        return $this;
    }
74445
public function setSharedMaxAge(int $value): self
    {
        $this->setPublic();
        $this->header->addCacheControlDirective('s-maxage', $value);

        return $this;
    }
666603
public function setAddition($value)
    {
        $this->data->amount->subtotals->addition = $this->convertAmount($value);

        return $this;
    }
598220
public function setValue($value)
	{
		$this->value = $value;

		if ( ! is_array($value) )
		{
			$value = [$value];
		}

		$this->recursiveAssignValue($value, $this->getContents());

		return $this;
	}
1077635
protected function setValue($value)
    {
        if (!is_int($value)) {
            throw InvalidTypeException::fromMessageAndPrototype("Value must be an integer", static::prototype());
        }
        $this->value = $value;
    }
1221198
public function setValue($value)
    {
        parent::setValue($value);
        $this->setCheckboxesAttributes($value, $this->checkboxes);

        return $this;
    }
988394
public function setValue($value)
    {
        if (!is_array($value)) {
            $value = [];
        }
        foreach ($value as $key => $value) {
            if (!$this->getElement($key)) {
                continue;
            }
            $this->getElement($key)->setValue($value);
        }

        return $this;
    }
1193061
public function next($value): self
    {
        $this->ensureIsNotLocked();

        $this->value = $value;
        $this->locked = true;

        return $this;
    }
1114850
public function setVersion(int $value) : Migration
    {

        if ($this->data['version'] !== $value) {
            $this->data['version'] = $value;
            $this->setModified('version');
        }

        return $this;
    }
1269595
public function setLatitude($value)
    {
        if (is_float($value) || is_int($value) || (is_string($value) && is_numeric($value))) {
            $this->latitude = (float) $value;
        } else {
            $this->latitude = null;
        }

        return $this;
    }
703214
public function setValue($value)
    {
        if (null === $value) {
            $value = $this->getArgument('default');
        }

        $this->value = ($this->needsSanitization())
            ? $this->sanitizeWithCallback($value)
            : $value;

        return $this;
    }
535533
public function position(int $value): self
    {
        $this->offset = $value;
        $this->bytes  = substr(hex2bin($this->hex), $value);

        return $this;
    }
399271
public function offsetSet($offset, $value)
    {
        if (is_null($offset)) {
            $offset = $this->_integerToStringKey($this->_integerKeysCounter++);
        }

        $this->_putData($offset, $value);
        return $this;
    }
937861
public function setMin(int $value)
    {
        $this->min = $value;

        $this->addValidationRule('min:' . $value);

        return $this;
    }
1186858
public final function reduce( int $value = 1 ) : Size
   {

      $this->triggerFixedErrorByNeed( 'reduce' );
      
      $this->_width  = $this->_width - $value;
      $this->_height = $this->_height - $value;

      return $this;

   }