Habari\HTMLTokenSet::replace_slice PHP Метод

replace_slice() публичный Метод

Replace a set of tokens in this HTMLTokenSet
public replace_slice ( HTMLTokenSet $slice ) : nothing
$slice HTMLTokenSet The tokens to insert in place of the old tokens
Результат nothing
    public function replace_slice(HTMLTokenSet $slice)
    {
        array_splice($this->tokens, $slice->sliceOffsetBegin, $slice->sliceOffsetLength, $slice->tokens);
    }