FluentDOM\Loader\Result::__construct PHP Метод

__construct() публичный Метод

public __construct ( DOMDocument $document, string $contentType, DOMNode | Traversable | array | null $selection = NULL )
$document DOMDocument
$contentType string
$selection DOMNode | Traversable | array | null
    public function __construct(\DOMDocument $document, $contentType, $selection = NULL)
    {
        $this->_document = $document;
        $this->_contentType = (string) $contentType;
        $this->_selection = $selection;
    }