清理所有inotify监听
@return $this
328749
public function clearWatched(): self
    {
        foreach ($this->watchedFiles as $wd) {
            inotify_rm_watch($this->inotify, $wd);
        }

        $this->watchedFiles = [];

        return $this;
    }
1228166
public function clear()
    {
        $this->mailer = null;
        $this->to = $this->attachemnts = array();
        $this->subject = $this->message = false;
        return $this;
    }
369613
public function clear() {
    foreach ($this->nodes as $node) {
      if ($node instanceof ParentNode) {
        $node->clear();
      }
    }
    return $this;
  }
102921
public function clean()
    {
        // Make sure the handle is close
        $this->close();

        $dir = dirname($this->getFile());
        if (is_dir($dir)) {
            $files = scandir($dir);
            foreach ($files as $file) {
                if ('.' != $file && '..' != $file) {
                    $file = $dir . DIRECTORY_SEPARATOR .  $file;
                    if (is_file($file)) {
                        unlink($file);
                    }
                }
            }
        }
        return $this;
    }
576342
public function clear()
    {
        $this->places = [];
        $this->transitions = [];
        $this->initialPlace = null;
        $this->metadataStore = null;

        return $this;
    }
739054
public function clear()
    {
        if (!isset($this->frames)) {
            return $this;
        }

        $this->loadFrames();

        $this->frames = array();
        return $this;
    }
1333401
public final function clearModified()
    {
        foreach ($this as $name => $value) {
            $this->_state[$name] = $value;
        }
        return $this;
    }
1159760
public function clear(): SessionInterface
    {
        # Get all the current session data
        $values = $this->getAll();

        # Replace all the values with nulls
        $values = array_map(function ($value) {
            return null;
        }, $values);

        # Store all the null values (effectively unsetting the keys)
        $this->set($values);

        return $this;
    }
1154960
public function clear()
    {
        $this->wheres  = array();
        $this->sets    = array();
        $this->havings = array();
        $this->orders  = array();
        $this->binds   = array();
        $this->limit   = null;
        $this->offset  = null;

        return $this;
    }
290259
public function clearCache()
    {
        static::$cache = [];

        // remove our "remembered" submitted value
        $this->submitted = null;

        // remove our "remembered" valid value
        foreach ($this->fields as $field) {
            if ($field instanceof AbstractFormField) {
                $field->clearCache();
            }
        }
        return $this;
    }
617479
public function clearCache()
    {
        if (!empty($this->schema))
        {
            $this->schema->clearCache();
        }

        $this->dao = [];
        $this->schema = null;
        return $this;
    }
1199685
public function clear()
    {
        $this->clearCountryCode();
        $this->clearNationalNumber();
        $this->clearExtension();
        $this->clearItalianLeadingZero();
        $this->clearNumberOfLeadingZeros();
        $this->clearRawInput();
        $this->clearCountryCodeSource();
        $this->clearPreferredDomesticCarrierCode();
        return $this;
    }
389340
public function clearMessages()
    {
        $this->errorMessages = [];
        $this->infoMessages = [];
        $this->successMessages = [];
        $this->warningMessages = [];

        return $this;
    }
1351697
public function clear()
    {
        $result = parent::clear();

        $this->_data = KObjectConfig::unbox($this->getConfig()->data);

        return $result;
    }
640949
public function uninitialize() {
		if (empty($this->_initialized)) {
			return $this;
		}
		
		foreach (array_keys($this->_initialized) as $property) {
			unset($this->_data[$property]);
		}
		
		return $this;
	}
290800
public function discard()
    {
        if ($this->state->isInitialized()) {
            $this->call($this->state->isCAS() ? 'UNWATCH' : 'DISCARD');

            $this->reset();
            $this->state->flag(MultiExecState::DISCARDED);
        }

        return $this;
    }
303258
public function reset()
    {
        $this->getRepository()->getSpace()->setEntityState($this, AnDomain::STATE_CLEAN);
        $this->_modified = array();

        return $this;
    }