pQuery\DomNode::createNode PHP Méthode

createNode() protected méthode

Create a {@link DomNode} from its string representation.
protected createNode ( string | DomNode $content ) : DomNode
$content string | DomNode
Résultat DomNode
    protected function createNode($content)
    {
        $nodes = $this->createNodes($content);
        return reset($nodes);
    }
DomNode