进入+ x

@param int $value

@return $this
162359
public function increment($value = 1)
    {
        $this->percent += $value;

        $percentage = (double)($this->percent / 100);

        $progress = floor($percentage * 50);
        $output = "\r[" . str_repeat('>', $progress);
        if ($progress < 50) {
            $output .= ">" . str_repeat(' ', 50 - $progress);
        } else {
            $output .= '>';
        }
        $output .= sprintf('] %s%% ', round($percentage * 100, 0));

        $speed = (time() - $this->startTime) / $this->percent;
        $remaining = number_format(round($speed * (100 - $this->percent), 2), 2);
        $percentage == 100 || $output .= " $remaining seconds remaining";

        Output::write($output);
        return $this;
    }
523640
public function setActive(int $value) : User
    {

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

        return $this;
    }
608885
public function setValue($value)
    {
        $this->checked = (!is_array($value)) ? [$value] : $value;
        if ((count($this->checked) > 0) && ($this->hasChildren())) {
            foreach ($this->childNodes as $child) {
                if ($child instanceof Input\Checkbox) {
                    if (in_array($child->getValue(), $this->checked)) {
                        $child->check();
                    } else {
                        $child->uncheck();
                    }
                }
            }
        }
        return $this;
    }
535533
public function position(int $value): self
    {
        $this->offset = $value;
        $this->bytes  = substr(hex2bin($this->hex), $value);

        return $this;
    }
1369498
public function addValue($value)
    {
        $this->assertCanHaveValue();
        $this->assertValueIsValid($value);

        if ($this->canHaveMultipleValues() && ! $this->hasValue($value)) {
            $value = array_merge($this->values, (array) $value);
        }

        $this->values = (array) $value;

        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;
    }
247075
public function append($value)
  {
    $_internalVal = is_object($value) ? $value->__toString() : $value;
    array_push($this->_content, $_internalVal);
    return $this;
  }
439861
public function eq($value) {
        $this->rule = $value;
        $this->check_role = 'eq';
        $result = !is_null($this->value) && $this->value == $value;
        $this->checkResult($result);
        return $this;
    }
780163
public function setId(int $value) : Setting
    {

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

        return $this;
    }
470227
public function appendValue($value)
    {
        $appendValue = $this->formatValue($value);
        $this->message = $this->message . $appendValue;

        return $this;
    }
854383
public function append($value)
    {
        $values = $this->sanitize($value);

        foreach ($values as $class) {
            parent::append($class);
        }

        return $this;
    }
1306147
public function setValue($value)
    {

        if (isset($this->element)) {
            $this->element->setValue($value);
        }

        return $this;
    }
606884
public function setDiscount($value)
    {
        $this->data->amount->subtotals->discount = $this->convertAmount($value);

        return $this;
    }
1191451
public function setValue($value)
    {
        if ($value == $this->getAttribute('value')) {
            $this->check();
        } else {
            $this->uncheck();
        }
        return $this;
    }
878419
public function setValue( $value )
    {
        // Only set cell value for single cells
        if (!str_contains( $this->cells, ':' )) {
            $this->sheet->setCellValue( $this->cells, $value );
        }

        return $this;
    }
1145200
public function addKkTrixionarySkillId($value)
    {
        $currentArray = $this->getKkTrixionarySkillIds();
        $currentArray []= $value;
        $this->setKkTrixionarySkillIds($currentArray);

        return $this;
    }
1337774
public function setAddition($value)
    {
        if (!isset($this->data->amount->subtotals)) {
            $this->data->amount->subtotals = new stdClass();
        }
        $this->data->amount->subtotals->addition = (float) $value;

        return $this;
    }