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
7 
9 
16 {
22  protected $_schema = null;
23 
29  protected $_perFileSchema = null;
30 
34  public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader)
35  {
36  $this->_schema = $moduleReader->getModuleDir(Dir::MODULE_ETC_DIR, 'Magento_Integration')
37  . '/integration/config.xsd';
38  }
39 
45  public function getSchema()
46  {
47  return $this->_schema;
48  }
49 
55  public function getPerFileSchema()
56  {
57  return $this->_perFileSchema;
58  }
59 }
__construct(\Magento\Framework\Module\Dir\Reader $moduleReader)