private function getGlobIterator($query, $language)
{
$this->failUnlessGlob($language);
Assert::stringNotEmpty($query, 'The glob must be a non-empty string. Got: %s');
Assert::startsWith($query, '/', 'The glob %s is not absolute.');
$query = Path::canonicalize($query);
return new GlobIterator($this->baseDir . $query);
}