public static create ( string $string = null, boolean $isFile = false, string $encoding = 'UTF-8', string $type = 'html' ) : |
||
$string | string | HTML or XML string or file path |
$isFile | boolean | Indicates that in first parameter was passed to the file path |
$encoding | string | The document encoding |
$type | string | The document type |
return |