Document

Qualified name:Ouxsoft\PHPMarkup\Document
Implements:DocumentInterface
class Document
public __construct()

Document constructor.

public loadSource(string $source) → bool

Loads source, which is in LHTML format, as DomDocument

A custom load page wrapper is required for server-side HTML5 entity support. Using $this->loadHTMLFile will removes HTML5 entities, such as

param string $source:
 
returns:bool –