for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* (c) Steve Nebes <[email protected]>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SN\HtmlSanitizer\Node;
* Root node of the sanitized HTML. Contains all the other nodes.
* @author Steve Nebes <[email protected]>
* @internal
class DocumentNode implements NodeInterface
{
use HasChildrenTrait;
public function getParent(): ?NodeInterface
return null;
}
public function render(): string
return $this->renderChildren();