for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Eclipxe\XmlResourceRetriever;
class XsdRetriever extends AbstractXmlRetriever
{
protected function searchNamespace(): string
return 'http://www.w3.org/2001/XMLSchema';
}
/**
* @return array<int, array<string, string>>
*/
protected function searchElements(): array
return [
['element' => 'import', 'attribute' => 'schemaLocation'],
['element' => 'include', 'attribute' => 'schemaLocation'],
];