FluentDOM\Serializer\Factory::createSerializer PHP Method

createSerializer() public method

Return a serializer for the provided content type
public createSerializer ( string $contentType, DOMNode $node ) : object | null
$contentType string
$node DOMNode
return object | null
    function createSerializer($contentType, \DOMNode $node);