Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SchemaLocator.php
Go to the documentation of this file.
1 <?php
9 
11 {
15  protected $urnResolver;
16 
19  public function __construct()
20  {
21  $this->urnResolver = new \Magento\Framework\Config\Dom\UrnResolver();
22  }
23 
29  public function getSchema()
30  {
31  return $this->urnResolver->getRealPath('urn:magento:framework:ObjectManager/etc/config.xsd');
32  }
33 
39  public function getPerFileSchema()
40  {
41  return null;
42  }
43 }