File "__construct.md"

Full Path: /var/www/html/wordpress/wp-content/plugins/wp-optimize/vendor/simplehtmldom/simplehtmldom/docs/HtmlNode/__construct.md
File size: 409 bytes
MIME-type: text/plain
Charset: utf-8

 
Open Back
```php
__construct ( [ object $dom ] ) : object
```

| Parameter | Description                                                   |
|-----------|---------------------------------------------------------------|
| `dom`     | An object of type [`HtmlDocument`](../HtmlDocument/index.md). |

Constructs a new object of type `HtmlNode`, assigns `$dom` as DOM object and adds itself to the list of nodes in `$dom`.