合并当前注册的资源
@param bool $append
@return $this
187449
protected function moveRegisterAssets($append = true) {
        foreach ($this->currentRegisterAssets as $key => $item) {
            if (empty($item)) {
                continue;
            }
            $this->registerAssets[$key] = $this->_mergeAssets($this->registerAssets[$key], $item, $append);
            $this->currentRegisterAssets[$key] = [];
        }
        return $this;
    }
398229
public function addAppends($appends)
	{
		if (is_string($appends)) {
			$appends = func_get_args();
		}

		$this->appends = array_merge($this->appends, $appends);

		return $this;
	}
906019
public function prependAll($prepended)
    {
        foreach ($this->storage as &$path) {
            $path->prepend($prepended);
        }

        return $this;
    }
750596
public function setOutFile($outFile, $append = true)
    {
        $this->outFile = $outFile;
        $this->appendOutFile = $append;

        return $this;
    }
598703
protected function add($sqlPartName, $sqlPart, $append = false)
    {
        $this->isDirty = true;

        if (self::$multipleParts[$sqlPartName]) {
            if ($append) {
                $this->sqlParts[$sqlPartName][] = $sqlPart;
            } else {
                $this->sqlParts[$sqlPartName] = array($sqlPart);
            }
        } else {
            $this->sqlParts[$sqlPartName] = $sqlPart;
        }

        return $this;
    }
1153090
public function addRecipient($recipients, $prepend = false)
    {
        if (!$prepend) {
            $this->appendRecipient($recipients);
        } else {
            $this->prependRecipient($recipients);
        }

        return $this;
    }
470537
public function contains($data, $append = true) {
        $this->_content = $append ? $this->_content . $data : $data;
        
        return $this;
    }
1256909
public function append($content, $create = false)
    {

        if ($this->writeable !== true || empty($content)) return false;

        if (strpos($this->_option, 'a') === false) {
            // close open filepoint
            if (!empty($this->fp)) fclose($this->fp);
            // opens fp for writing with file lock
            $this->open_fp((is_bool($create) && $create === true ? 'a+' : 'a'));
        }

        if ($this->file_lock !== true && !$this->lock(LOCK_EX)) return false;

        // writes to file
        fputs($this->fp, $content, strlen($content));
        // releases lock
        $this->lock(LOCK_UN);

        return true;
    }
811599
public function addRules($rules, $append = true)
    {
        foreach ($rules as $key => $rule) {
            if (is_array($rule) && isset($rule['composition'])) {
                foreach ($rule['composition'] as $composition => $pattern) {
                    $rules[] = [
                        'pattern' => $pattern,
                        'route' => $composition.'/'.$rule['route'],
                    ];
                }
            }
        }

        return parent::addRules($rules, $append);
    }
627380
public function concat($value, $preAppend = false)
    {
        $transformer = new Concat($this->value, $value);
        $transformer->setPreAppend($preAppend);
        $this->value = $transformer->execute();
        return $this;
    }
1296777
protected function checkAllowFields($append = [])
    {
        // 检测字段
        if (empty($this->field) || true === $this->field) {
            $query = $this->db(false);
            $table = $this->table ?: $query->getTable();

            $this->field = $query->getConnection()->getTableFields($table);

            $field = $this->field;
        } else {
            $field = array_merge($this->field, $append);

            if ($this->autoWriteTimestamp) {
                array_push($field, $this->createTime, $this->updateTime);
            }
        }

        if ($this->disuse) {
            // 废弃字段
            $field = array_diff($field, (array) $this->disuse);
        }
        return $field;
    }
727334
public function append($options)
    {
        $options = self::unbox($options);

        if(is_array($options) || $options instanceof \Traversable)
        {
            foreach($options as $key => $value)
            {
                if(!is_numeric($key))
                {
                    if(array_key_exists($key, $this->__options))
                    {
                        if(!empty($value) && ($this->__options[$key] instanceof ObjectConfigInterface)) {
                            $this->__options[$key] = $this->__options[$key]->append($value);
                        }
                    }
                    else $this->set($key, $value);
                }
                else
                {
                    if (!in_array($value, $this->__options, true)) {
                        $this->__options[] = $value;
                    }
                }
            }
        }

        return $this;
    }
72381
public function append($path)
    {
        if (!is_array($path)) {
            $path = $this->normalize($path);
        }

        $path = array_merge($this->paths, $path);

        $this->paths = $this->removeDots($path);

        return $this;
    }
101412
public function append($object)
    {
        $member = static::checkMember($object);
        # TODO: merge if duplicated
        if (!$this->contains($member)) {
            $this->members[] = $member;
        }
    }
1187882
public function setStderrFile(string $path, bool $append = false): Process
    {
        $this->setOutputFile(self::STDERR, $path, $append);
        return $this;
    }
1157456
@Override
    public FileIO setAppend(final boolean... append) {
        this.append = (append != null) && ((append.length == 0) || ((append.length > 0) && append[0]));
        return this;
    }
703118
public function add($add): self
    {
        if (\is_array($add)) {
            \array_walk($array, [$this, 'addWord']);
        } else {
            $this->addWord($add);
        }

        return $this;
    }