CSS selector in ZF2

Code
<?php

use Zend\Dom\Document\Query;
use 
Zend\Dom\Document;

$file __DIR__ '/templates/site.html';
$doc = new Document(file_get_contents($file));

/* @var $nodes \Zend\Dom\Document\NodeList */
$nodeList Query::execute('h1'$docQuery::TYPE_CSS);

// NodeList implements Iterator, Countable, ArrayAccess
echo $nodeList[0]->nodeValue;
Result
PHPSnippets
Used Versions
PHP 7.3, Zend 3.0, Symfony 4.3, Laravel 5.8, PHPUnit 8.0, Doctrine 2.10