Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
FluentDOM
Node
ChildNode
Implementation
replace
FluentDOM\Node\ChildNode\Implementation::replace PHP Method
Implementation Trait Documentation
Mostra file
Open project: fluentdom/fluentdom
replace()
public
method
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