Logs a deletion in the diff tracker

@param string $value Added value

@return void
431338
public function logDeletion($value)
    {
        if ($this->isOverridden()) {
            return;
        }
        if (isset($this->added[$value])) {
            unset($this->added[$value]);
            $this->ignored[$value] = $value;
            return;
        }
        if (isset($this->replaced[$value])) {
            unset($this->replaced[$value]);
        }
        if (! isset($this->ignored[$value])) {
            $this->deleted[$value] = $value;
        }
    }
1195214
protected static function debugSet(string $key, $value): void
    {
        Debug::setCache(static::$type, 'set', $key, is_string($value) ? $value : json($value));
    }
383295
public function setScope(?string $value) : Log
    {

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

        return $this;
    }
518557
public function setLog($value)
    {
        $this->_validateString('Log', $value);

        if ($this->data['log'] === $value) {
            return;
        }

        $this->data['log'] = $value;

        $this->_setModified('log');
    }
966568
public function setType(?int $value) : Log
    {

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

        return $this;
    }
506003
public function useDebug($value = true)
    {
        if ($value) {
            $this->configureStatementClass('DebugPDOStatement', true);
        } else {
            // reset query logging
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('PDOStatement'));
            $this->setLastExecutedQuery('');
            $this->queryCount = 0;
        }
        $this->clearStatementCache();
        $this->useDebug = $value;
    }
762959
public function setCommitMessage($value)
    {
        $this->_validateString('CommitMessage', $value);

        if ($this->data['commit_message'] === $value) {
            return;
        }

        $this->data['commit_message'] = $value;

        $this->_setModified('commit_message');
    }
553207
public function setValue($value) {
		if(is_string($value) && $this->getOption('trim'))
			$value = trim($value);

		$this->value = $value;
	}
895677
public function logReplacement($value)
    {
        if ($this->isOverridden()) {
            return;
        }
        if (isset($this->added[$value])) {
            unset($this->added[$value]);
        }
        if (isset($this->deleted[$value])) {
            unset($this->deleted[$value]);
        }
        $this->replaced[$value] = $value;
    }
913415
private function processValue($value)
    {
        $this->valueStack[] = $value;
        $value = $this->resolveValue($value);

        if (is_array($value) || is_object($value)) {
            $this->pushStack($value);
        } else {
            $this->outputJson($value, JsonToken::T_VALUE);
            array_pop($this->valueStack);
        }
    }
878064
public function dump($value) {
        Mage::register('turpentine_nocache_flag', true, true);
        $this->logValue($value);
        echo '<pre>'.PHP_EOL;
        var_dump($value);
        echo '</pre>'.PHP_EOL;
    }
15744
public function setMessage(string $value) : Log
    {

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

        return $this;
    }
50164
public function setIsNew($value)
    {
        $value = ($value == true) ? 1 : 0;

        if ($this->data['is_new'] === $value) {
            return;
        }

        $this->data['is_new'] = $value;

        $this->_setModified('is_new');
    }
374812
public function setFinished($value)
    {
        $this->_validateDate('Finished', $value);

        if ($this->data['finished'] === $value) {
            return;
        }

        $this->data['finished'] = $value;

        $this->_setModified('finished');
    }
206056
private function validate(string $value) : void
    {
        foreach ($this->validators as $validator) {
            if (! $validator->isValid($value)) {
                foreach ($validator->getFailureMessages() as $messageKey => $message) {
                    $this->addTranslatableError($messageKey, $message);
                }
            }
        }
    }
1291064
public function setSingleAttribute($value): void
    {
        $value = $value[0] ?? (is_array($value) ? '' : $value);

        $this->attributes['single'] = (bool) trim(strip_tags($value));
    }
94006
protected function onSetFormValue(string $value): void
    {
        foreach ($this->options as $option) {
            $isMatch = ($value === $option->getValue());
            $option->setSelected($isMatch);

            if ($isMatch) {
                $this->value = $value;
            }
        }

        parent::onSetFormValue($value);
    }