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.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6