Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
FluentDOM
Node
ChildNode
Implementation
replace
FluentDOM\Node\ChildNode\Implementation::replace PHP Метод
Документация по трейту Implementation
Показать файл
Открыть проект
replace()
публичный
Метод
Replace a node with on or more other nodes, returns the replaced node.
public
replace
(
DOMNode | DOMNodeList
$nodes
)
$nodes
DOMNode | DOMNodeList
public function replace($nodes) { $this->before($nodes); return $this->remove(); }
Implementation
after
before
remove
replace